type/table
check for a table
Calling Sequence
Parameters
Description
Supertypes
Examples
type(e, 'table')
e
-
any expression
The expression type(e, 'table') returns the value true if the expression e is a table, and returns the value false otherwise.
An expression is a table if it is created in one of several ways:
- by calling the table constructor
- by implicit table creation as a result of assignment to an indexed name
- by calling a procedure with option remember
All tables are also of type tabular, but are distinct from rtables. Together, tables and rtables make up the tabular type.
For a description of the table data structure and how to create tables, see table.
type/indexable, type/last_name_eval
T≔table⁡11,red,π
T≔table⁡1=11,2=red,3=π
type⁡T,table
true
type⁡table⁡,table
type⁡rtable⁡,table
false
type⁡rtable⁡,tabular
type⁡a,table
ab≔2
type⁡op⁡4,eval⁡sin,table
See Also
Formats/ByType/table
remember
table
type
type/tabular
Download Help Document