Type representing boolean expressions
This functionality does not run in MATLAB.
Type::Boolean represents logical formulas.
Boolean expressions are all of the following objects: the Boolean
identifiers; equations and inqualities; expressions with operator
_equiv if each operand is a Boolean expression;
or results returned by
Identifiers and boolean constants are Boolean expressions:
testtype(TRUE, Type::Boolean), testtype(a, Type::Boolean)
In order that an expression be Boolean, it is not sufficient that only its operator is a logical operator; also its operands must be Boolean expressions.
testtype(a >= 3 and b, Type::Boolean); testtype(a+b and c, Type::Boolean)
Any MuPAD® object