Importu.win.pct: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/importu.bend as Importu Lines 61-66 of cswap-bend-cli@0.1.0.0/importu.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&start_line=61&end_line=66 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def win.pct(m: Maybe<&2, String>, +label: String, +w: Json.Json, +now: U32, +off: U32) -> Result<&2, &2, String, Json.Json>: match m: case None{}: Fail{label ++ ".pct must be a non-negative number"} case Some{p}: win.reset(label, jv("resetsAt", w), Json.of_pairs([("pct", Json.JNum{p})]), now, off) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append 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/importu.bend&name=jv https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&name=win.reset 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/json.bend&name=of_pairs