Boolean
and
- Signature
- Example
(b Bool) (a Bool) | and | (a && b Bool)
true false and => false
Boolean AND.
contains?
, has?
- Signature
- Example
(a Bool) | contains? | (!a Bool)
true contains? => false
Boolean NOT.
eq?
, equal?
- Signature
- Example
(a Bool) | eq? | (!a Bool)
true eq? => false
Boolean NOT.
not
- Signature
- Example
(a Bool) | not | (!a Bool)
true not => false
Boolean NOT.
not-equal?
, not-eq?
- Signature
- Example
(a Bool) | not-equal? | (!a Bool)
true not-equal? => false
Boolean NOT.
or
- Signature
- Example
(b Bool) (a Bool) | or | (a || b Bool)
true false or => true
Boolean OR.
xor
- Signature
- Example
(b Bool) (a Bool) | xor | (a != b Bool)
true true xor => false
Boolean XOR.