Num.secs_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/tui/num.bend as Num Lines 69-75 of cswap-bend-cli@0.1.0.0/tui/num.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/tui/num.bend&start_line=69&end_line=75 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # Whole seconds of a JSON number: "1792740000.1" -> 1792740000. def secs_of(+j: Json.Json) -> Maybe<&2, U32>: match j: case Json.JNum{t}: secs_parts(String.split(t, '.')) case _: None{} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.split https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/num.bend&name=secs_parts