type/table - check for a table
|
Calling Sequence
|
|
type(e, 'table')
|
|
Description
|
|
•
|
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.
|
•
|
See the information under the help topic table for a description of the table data structure and how to create tables.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
|
|
Download Help Document
Was this information helpful?