type/listlist
Check for a list of lists
Calling Sequence
Parameters
Description
Supertypes
Examples
type(expr, listlist)
type(expr, listlist(K))
expr
-
any expression
K
type name
The function type/listlist returns true if expr is a nonempty list of lists, with each inner list having the same number of elements. Otherwise, it returns false.
If a type is given, then an additional check will be made to ensure that all the operands of the inner lists are of the given type.
type/nonemptylist
type⁡,listlist
false
type⁡1,2,3,4,listlist
true
type⁡1,2,3,4,listlist⁡integer
type⁡8,7,6,12,listlist
type⁡1,2,3,4,5,listlist
type⁡a,b,c,d,listlist
type⁡a,b,c,d,listlist⁡integer
See Also
convert/list
list
type
type/list
type/Matrix
Download Help Document