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
| Name | Type | Comment | Kind |
|---|---|---|---|
| node | INodeApi | the interface of the node that should be checked | input |
Code
Declaration
METHOD containsNode : BOOL
VAR_INPUT
(* the interface of the node that should be checked *)
node :INodeApi;
END_VAR