type/MVIndex - check for an expression of type MVIndex (Matrix or Vector index)
|
Calling Sequence
|
|
type(expr, MVIndex)
|
|
Description
|
|
•
|
The type(expr, MVIndex) function returns true if expr is an integer, an integer range, or a list whose elements are either integers or ranges of integers.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|