type/boolean
check for type Boolean
Calling Sequence
Parameters
Description
Subtypes
Examples
type(expr, boolean)
expr
-
any expression
These functions return true if expr is of the specified type, and false otherwise.
An expression is of type boolean if it is of type type/relation, type type/logical or one of the Boolean constants true, false, or FAIL.
type/logical, type/relation, type/truefalse, type/truefalseFAIL
type⁡x<5,boolean
true
type⁡aornotb,boolean
type⁡1<2and5<x,boolean
type⁡false,boolean
See Also
boolean
evalb
Formats/ByType/boolean
type
type/truefalse
type/truefalseFAIL
Download Help Document