logic module reference
logic module reference
Logical operations.
index
- alias of
not-eq - Check if values are in ascending order.
- Check if values are in ascending order.
- alias of
eq - Check if values are in descending order.
- Check if values are in descending order.
- Logical AND.
- alias of
< - Cast value to bool.
- alias of
> - Check for equality.
- Logical NOT.
- Check for inequality.
- Logical OR.
details
- Check if values are in ascending order.
(< a b [c…])(asc? a b [c…]) - Check if values are in ascending order.
(<= a b [c…]) - Check if values are in descending order.
(> a b [c…])(desc? a b [c…]) - Check if values are in descending order.
(>= a b [c…]) - Logical AND.
(and a b [c…]) - Cast value to bool.
(bool a)falseif a isfalse,nilor0,trueotherwise. - Check for equality.
(== a b [c]…)(eq a b [c]…)trueif the types and values of all arguments are equal. - Logical NOT.
(not a) - Check for inequality.
(!= a b [c]…)(not-eq a b [c]…)trueif types or values of any two arguments are different. - Logical OR.
(or a b [c…])