IsList
Tests if an object is a list.
Syntax
-
IsList(X)
-
X
is any object
-
Description
If X
is any object, then IsList(X)
returns true
iff X
is of type list.
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 @ IsList
false false true false