Algosim documentation: IsTable

IsTable

Tests if an object is a table.

Syntax

Description

If X is any object, then IsTable(X) returns true iff X is a table.

Examples

ToTable(IdentityMatrix(10))
1	0	0	0	0	0	0	0	0	0
0	1	0	0	0	0	0	0	0	0
0	0	1	0	0	0	0	0	0	0
0	0	0	1	0	0	0	0	0	0
0	0	0	0	1	0	0	0	0	0
0	0	0	0	0	1	0	0	0	0
0	0	0	0	0	0	1	0	0	0
0	0	0	0	0	0	0	1	0	0
0	0	0	0	0	0	0	0	1	0
0	0	0	0	0	0	0	0	0	1
IsTable(ans)
true