Caps.CapSet.has: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/caps.bend as Caps Lines 329-331 of bend-osdev-caps@0.1.0.0/caps.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&start_line=329&end_line=331 import Base # whether capability k is in s def CapSet.has(s: CapSet(), +k: U32) -> Bool: CapSet.has.go(Cap.valid(k), s, k) 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=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=Cap.valid https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapSet https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapSet.has.go