and / or / not
Combine Boolean expressions with short-circuit operators.
Example.kalm
kalm
pub fun allowed(age: Int, paused: Bool) -> Bool:
return age >= 18 and not pausedCombine Boolean expressions with short-circuit operators.
pub fun allowed(age: Int, paused: Bool) -> Bool:
return age >= 18 and not paused