Skip to content

IsObjectIn - cCollection

Used to determine if object handle exists in the collection

Type: Function
Return Data Type: Boolean

Parameters

Parameter Type Description
ho Handle The object handle

Syntax

Function IsObjectIn Handle ho Returns Boolean

Call Example

Get IsObjectIn ho to BooleanVariable

Description

The IsObjectIn function is used to determine if object handle exists in the collection. IsObjectIn returns True, if the object-handle, ho, is in the collection, otherwise the function returns zero.

If you need to know the index of the object-handle in the collection, use IndexFromObject.

Return Value

Returns True, if the object-handle is in the collection, otherwise returns zero