Skip to main content

containsNode

Short Summary

This method checks if a given node is contained in the list. The object is inside if the collection contains an object of equal hashcode!

Parameters

  • return: FALSE: list does not contain given object, TRUE: list does contain given object

  • Return type: BOOL

Parameters

NameTypeCommentKind
nodeINodeApithe interface of the node that should be checkedinput

Code

Declaration

METHOD containsNode : BOOL
VAR_INPUT
(* the interface of the node that should be checked *)
node :INodeApi;
END_VAR