def expires_s

cswap-bend-cli@0.1.0.0 · store/plan.bend:61

import cswap-bend-cli@0.1.0.0/store/plan.bend as Plan
import Base

61# The access token's expiry in whole seconds (`expiresAt` is epoch ms).
62def expires_s(+ms: String) -> Maybe<&2, U32>:
63  U32.read(String.take(ms, Nat.sub(String.length(ms), 3n)))

Uses (7)

Used by (1)