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 paused

Learn more.