Ops.has_cap: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops Lines 472-477 of near-v-framework@0.4.0.0/domain/architecture/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&start_line=472&end_line=477 import Base import near-v-framework@0.4.0.0/domain/architecture/category/type.bend as K2 def has_cap(+want: K2.Capability, cs: List<&2, K2.Capability>) -> Bool: match cs: case []: False{} case c <> rest: cap_eq(want, c) || has_cap(want, rest) 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=List https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/category/type.bend&name=Capability https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&name=cap_eq