Function: type/RealRange - checks for a RealRange expression
Calling Sequence:
type(n, RealRange);
Parameters:
n - any algebraic expression
Description:
The call type(n, RealRange) checks whether n is a RealRange expression, i.e. whether n is of type function and op(n, 'RealRange'); 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(RealRange(Open(2), infinity), RealRange);
> type(-1 .. 1, RealRange);
See Also:
type , type/range , type/Open .
Version History:
Version 1.0 as of December 30, 1997