Swbase.has_text: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/swbase.bend as Swbase Lines 40-47 of cswap-bend-cli@0.1.0.0/swbase.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/swbase.bend&start_line=40&end_line=47 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def has_text(+xs: Json.Json, +t: String) -> Bool: match xs: case Json.JCons{Json.JStr{s}, rest}: String.eq(s, t) || has_text(rest, t) case Json.JCons{h, rest}: has_text(rest, t) case _: False{} 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.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json