UserDataMap.IsEmpty operator

Introduced

v3.0

Description

Returns a Boolean value indicating whether or not there is user data on the UserDataItem at the specified index (true=empty/no data; false=not empty). The index must be in the range of 0 to UserDataMap.Count - 1.

A common scenario for using this property is inside a loop which visits each component in the user data map to see if any user data has been set.

Parameters

Parameter Type Description
Index Long Index of the component within the cluster.

See Also

UserDataItem Cluster.Elements ClusterProperty