type/nonreal - check for an object of type nonreal
|
Calling Sequence
|
|
type(x, nonreal)
type(x, nonreal(d))
|
|
Parameters
|
|
x
|
-
|
expression
|
d
|
-
|
numeric type
|
|
|
|
|
Description
|
|
•
|
The type(x, nonreal) function returns true if x is a complex constant which is not of type extended_numeric, such that (if present) and are of type extended_numeric.
|
•
|
The type(x, nonreal(d)) function returns true if x is of type nonreal and (if present) and are both of type d. It returns false if d is not a numeric type.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|