Bind.has_item: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/bind.bend as Bind Lines 239-246 of bolt@1.27.0.0/src/syntax/bind.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/syntax/bind.bend&start_line=239&end_line=246 import Base import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy # is the name among the file's items? `has`, stopping at the first hit, as # every use no binder holds asks it of every item def has_item(names: List<&2, String>, +name: String) -> Bool: match names: case Nil{}: False{} case Con{hh, rest}: Lazy.or_else(same(hh, name), _u => has_item(rest, name)) 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=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lazy/lazy.bend&name=or_else https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/bind.bend&name=same