Num.all_zeros: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/num.bend as Num Lines 52-58 of bend-toon-codec@0.1.0.0/src/num.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/num.bend&start_line=52&end_line=58 import Base # True when the string is empty or all zeros. def all_zeros(+s: String) -> Bool: match s: case SNil{}: True{} case SCon{c, t}: is_zero_char(c) && all_zeros(t) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/num.bend&name=is_zero_char