Methods to check comparisons, cast to left operand's type if needed,
return bool node.
Methods
-
_cmp(node)
-
Casts right operand to left operand's type if needed.
Parameters:
Name Type Description nodeArray to check.
-
eq(node)
-
[ 'eq' a b ]Parameters:
Name Type Description nodeArray to check.
-
ge(node)
-
[ 'ge' a b ]Parameters:
Name Type Description nodeArray to check.
-
gt(node)
-
[ 'gt' a b ]Parameters:
Name Type Description nodeArray to check.
-
le(node)
-
[ 'le' a b ]Parameters:
Name Type Description nodeArray to check.
-
lt(node)
-
[ 'lt' a b ]Parameters:
Name Type Description nodeArray to check.
-
ne(node)
-
[ 'ne' a b ]Parameters:
Name Type Description nodeArray to check.