containsObject
Short summary
This method checks if a given object is contained in the collection. The object is inside if the collection contains an object for that isEqual retuns true.
Return: FALSE: collection does not contain given object,
TRUE: collection does contain given object
- Return type:
BOOL
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| object | CNM_AbstractObject.IObject | the object to be checked if it exists inside the collection | input |
Code
Declaration
METHOD containsObject :BOOL
VAR_INPUT
(*the object to be checked if it exists inside the collection*)
object :CNM_AbstractObject.IObject;
END_VAR