Type
Type[ expr ]
Type[ expr ] returns the Algebrakit type of expr.
| Example | in | out |
|---|---|---|
The type of 35. |
Type[ 35 ] |
TypeConstantNaturalNumber |
Check whether x is a constant, where x is defined as π in the script. |
Type[ x ] == Constant |
True |