type/MVIndex
check for an expression of type MVIndex (Matrix or Vector index)
Calling Sequence
Parameters
Description
Examples
type(expr, MVIndex)
expr
-
any expression
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.
type⁡1,MVIndex
true
type⁡4..−1,MVIndex
type⁡1,3..5,7,8,10..−1,MVIndex
See Also
integer
list
Matrix
range
type
type/integer
Vector
Download Help Document