def tz.clock.sign

bend-kit-time@0.3.0.0 · time.bend:886

import bend-kit-time@0.3.0.0/time.bend as Time
import Base

886def tz.clock.sign(s: String, max: U32) -> Maybe<&2, TzClock>:
887  match s:
888    case SCon{Chr{45}, t}:
889      tz.clock.read(t, max, True{})
890    case SCon{Chr{43}, t}:
891      tz.clock.read(t, max, False{})
892    case _:
893      tz.clock.read(s, max, False{})

Uses (9)

Used by (3)