Cli.has_text: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4026-4032 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4026&end_line=4032 import Base # Whether names holds query: List.contains with String.eq would copy each # name it compares. def has_text(names: List<&2, String>, +query: String, found: Bool) -> Bool: match names found: case _ True{}: True{} case Nil{} False{}: False{} case name <> tail False{}: has_text(tail, query, same_text(name, query)) 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=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=same_text