OrdinaryCheckedBindings.includes: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_checked_bindings.bend as OrdinaryCheckedBindings Lines 27-30 of bendvy-ecs-core@0.1.0.4/ordinary_checked_bindings.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_checked_bindings.bend&start_line=27&end_line=30 import Base def includes(values:List<&2,Description>,+id:U32) -> Bool: match values: case []:False{} case Description{other,_} <> rest:Bool.or(U32.is_eq(id,other),includes(rest,id)) Uses (6): 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=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_checked_bindings.bend&name=Description