Yaml11.has_digit: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/yaml11.bend as Yaml11 Lines 102-107 of yaml-for-bend@0.1.1.0/yaml11.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/yaml11.bend&start_line=102&end_line=107 import Base def has_digit(s: String) -> Bool: match s: case SNil{}: False{} case SCon{+c, t}: Bool.or(Char.is_digit(c), has_digit(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.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_digit https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String