type/indexed
check for an object of type indexed
Calling Sequence
Parameters
Description
Examples
type(expr, indexed)
type(expr, indexed(itype))
expr
-
any expression
itype
type
The call type(expr, indexed) checks if expr is of type indexed. It returns true if expr is of type indexed, and false otherwise.
If a parameter itype is given, the type command also checks if each of the indices are of type itype.
type1,indexed
false
type12,indexed
type0.5,indexed
typeString,indexed
typeName,indexed
typeab,indexed
true
typea3,indexedinteger
typeab,c,indexedname
typeab,3,indexedname
See Also
indexed
type/atomic
type/indexedfun
type/name
Download Help Document