IsObjectContainer
Checks if an object is an object container.
Syntax
-
IsObjectContainer(X)
-
X
is any object
-
Description
IsObjectContainer(X)
returns true
iff X
is an object container, that is, iff it can contain other objects (of any type).
IsObjectContainer(X)
is a property of the class of X
.
The following classes are object containers:
-
lists
-
sets
-
structures