def on

ezx@1.11.0.0 · src/ez/clock.bend:15

import ezx@1.11.0.0/src/ez/clock.bend as Clock
import Base

15# whether a budget is being kept at all
16def on(+secs: String) -> Bool:
17  Bool.not(Bool.or(String.is_empty(secs), String.eq(secs, "0")))

Uses (6)

Used by (1)