Step.inline.done: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/step.bend as Step Lines 46-51 of bend-toon-codec@0.1.0.0/src/step.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/step.bend&start_line=46&end_line=51 import Base import bend-toon-codec@0.1.0.0/src/json.bend as J def inline.done(+r: Result<&2, &2, String, J.Json>, +n: U32, +strict: Bool) -> Result<&2, &2, String, Start>: match r: case Fail{e}: Fail{e} case Done{vs}: inline.ok(Bool.not(strict) || U32.is_eq(count(vs), n), vs) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/step.bend&name=Start https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/step.bend&name=count https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/step.bend&name=inline.ok