Svg.filter.result: def of gralha-svg-render@0.1.0.1 Import: import gralha-svg-render@0.1.0.1/svg.bend as Svg Lines 4843-4847 of gralha-svg-render@0.1.0.1/svg.bend: https://jend.leeeet.dev/read.txt?path=gralha-svg-render@0.1.0.1/svg.bend&start_line=4843&end_line=4847 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def filter.result(xs: List<&2, FilterResult>, +name: String, +fallback: FilterInput) -> FilterInput: match xs: case Nil{}: fallback case Con{FilterResult{key, input}, rest}: U.branch(FilterInput, U.string.equal(key, name), _ => input, _ => filter.result(rest, name, fallback)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=gralha-svg-render@0.1.0.1/svg.bend&name=FilterInput https://jend.leeeet.dev/definition.txt?path=gralha-svg-render@0.1.0.1/svg.bend&name=FilterResult https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=branch https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=string.equal