Conditionals
mq supports standard conditional operations through the following functions:
and(a, b)
- Returns true if botha
andb
are trueor(a, b)
- Returns true if eithera
orb
is truenot(a)
- Returns true ifa
is false
Examples
# Basic comparisons
and(true, true, true)
# => true
or(true, false, true)
# => true
not(false)
# => true