IsOrderedContainer
Checks if an object is an ordered container.
Syntax
-
IsOrderedContainer(X)
-
X
is any object
-
Description
IsOrderedContainer(X)
returns true
iff X
is a container (either an object container or a value container) and its elements have a defined order.
IsOrderedContainer(X)
is a property of the class of X
.
The following classes are ordered containers:
-
real vectors
-
complex vectors
-
real matrices
-
complex matrices
-
strings
-
lists
-
structures
-
pixmaps
-
tables
-
binary data
The only container which is not ordered is the set.