IsBoolean
Tests if an object is a boolean.
Syntax
-
IsBoolean(X)-
Xis any object
-
Description
If X is any object, then IsBoolean(X) is true iff X is of type boolean.
Examples
IsBoolean(1 + 1 = 2)
true
Tests if an object is a boolean.
IsBoolean(X)
X is any object
If X is any object, then IsBoolean(X) is true iff X is of type boolean.
IsBoolean(1 + 1 = 2)
true