Methods to check Boolean expressions, cast to bool if needed,
return bool node.
Methods
-
and(node)
-
[ 'and' a b ]casts tobool.Parameters:
Name Type Description nodeArray to check.
-
bool(node)
-
[ 'bool' value ]expectsbooleanvalue.Parameters:
Name Type Description nodeArray to check.
-
not(node)
-
[ 'not' b ]casts tobool.Parameters:
Name Type Description nodeArray to check.
-
or(node)
-
[ 'or' a b ]casts tobool.Parameters:
Name Type Description nodeArray to check.