IsSet
Tests if an object is a set.
Syntax
-
IsSet(X)
-
X
is any object
-
Description
If X
is any object, then IsSet(X)
returns true
iff X
is of type set.
Examples
'(❨1, 2, 3❩, ❨❨1, 2❩, ❨3, 4❩❩, '(1, 2, 3), {1, 2, 3})
(1, 2, 3) ((1, 2), (3, 4)) (1, 2, 3) {1, 2, 3}
ans @ IsSet
false false false true