type/listlist - Check for a list of lists
|
Calling Sequence
|
|
type(expr, listlist)
type(expr, listlist(K))
|
|
Parameters
|
|
expr
|
-
|
any expression
|
K
|
-
|
type name
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?