def secfrac

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

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

475# An optional '.' and one or more digits, as nanoseconds.
476def secfrac(p: P) -> Maybe<&2, P>:
477  match p:
478    case P{vs, +s}:
479      secfrac.if(String.starts_with(s, "."), vs, s)

Uses (4)

Used by (1)