type/indexable
check for an indexable object
Calling Sequence
Parameters
Description
Examples
type(expr, indexable)
type(expr, 'indexable'(R))
expr
-
expression
R
datatype of elements
The type(expr, indexable) calling sequence returns true if expr is of type sequential, type string, or type tabular. This includes any one of the following types of indexable Maple objects.
list
set
string
table
rtable
array
Array
Matrix
Vector
Vector[column]
Vector[row]
DataSeries
DataFrame
The type(expr, 'indexable'(R)) calling sequence returns true if expr is a indexable Maple object containing elements of type R.
A≔rtable⁡1,2,3,1,1,1,5,7,9,subtype=Matrix,datatype=integer2
A≔123111579
type⁡A,indexable
true
type⁡A,indexable⁡integer2
See Also
numelems
selection
type
type/array
type/Array
type/DataFrame
type/DataSeries
type/list
type/Matrix
type/rtable
type/sequential
type/set
type/string
type/table
type/tabular
type/Vector
Download Help Document