def last_switch_at

cswap-bend-cli@0.1.0.0 · daemon/state.bend:149

import cswap-bend-cli@0.1.0.0/daemon/state.bend as State
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

149# lastSwitchAt as seconds, None when absent or not a number.
150def last_switch_at(+st: Json.Json) -> Maybe<&2, U32>:
151  last2(Json.get("lastSwitchAt", st))

Uses (5)

Used by (2)