Out.of_code: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/out.bend as Out Lines 19-24 of cswap-bend-cli@0.1.0.0/fmt/out.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fmt/out.bend&start_line=19&end_line=24 import Base # The format a code (code.bend) stands for. def of_code(+n: U32) -> Fmt: Bool.pick(Fmt, U32.is_eq(n, 1), FJson{}, Bool.pick(Fmt, U32.is_eq(n, 2), FCsv{}, Bool.pick(Fmt, U32.is_eq(n, 3), FYaml{}, Bool.pick(Fmt, U32.is_eq(n, 4), FToon{}, FText{})))) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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=cswap-bend-cli@0.1.0.0/fmt/out.bend&name=Fmt