Cli.picto_class: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 894-901 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=894&end_line=901 import Base # may: whether code is in 203C-3299 or from 1F000, which hold every # pictograph from 768 on. def picto_class(may: Bool, +code: U32) -> CodeClass: match may: case True{}: Bool.pick(CodeClass, unicode_is_pictographic(code), PictoCode{}, PlainCode{}) case False{}: PlainCode{} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=cli@0.2.0.0/cli.bend&name=CodeClass https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=unicode_is_pictographic