def is_off

bolt@1.27.0.0 · src/config.bend:64

import bolt@1.27.0.0/src/config.bend as Config
import Base

64# is it off?
65def is_off(ll: Level) -> Bool:
66  match ll:
67    case Off{}:
68      True{}
69    case other:
70      False{}

Uses (2)

Used by (1)