type
relation
Calling Sequence
Parameters
Description
Subtypes
Supertypes
Examples
type(expr, relation)
expr
-
any expression
These functions return true if expr is of the specified type, and false otherwise.
An expression is of type relation if it is of type `=`, `<>`, `<`, or `<=`.
For each of the types f, where f is one of `=`, `<>`, `<`, or `<=`, x is of type f if op(0, x) = f.
Note: Expressions formed using the operators > and >= are automatically converted to expressions of type `<` and `<=`, respectively.
type/=, type/<>, type/<, type/<=
type/boolean
type⁡x<5,relation
true
type⁡aornotb,relation
false
type⁡1<2and5<x,relation
See Also
boolean
evalb
type/<
type/<=
type/<>
type/=
Download Help Document