Function: type/elemental
Calling Sequence:
type(n, elemental);
Parameters:
n - any algebraic expression
Description:
The call type(n, elemental) checks whether eval(n) is of type realcons, type name, or type string; if so, it returns true, and false otherwise.
This type is part of the `math` package and automatically initialized when this package is loaded.
Examples:
> with(math):
> type(sqrt(2), elemental);
> type(1/x, elemental);
>
### WARNING: semantics of type `string` have changed
type(`string`, elemental);
> type(sin, elemental);
> type(table([1, 2, 3]), elemental);
See Also:
type .
Version History:
Version 1.00 - December 30, 1997
Version 1.01 - June 08, 1998