def AmlNs.has

bend-osdev-acpi@0.1.1.0 · aml_ns.bend:162

import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNs
import Base

162def AmlNs.has(ns: AmlNs, +p: String) -> Bool:
163  match ns:
164    case AmlNs{m}:
165      ns.snd.bool(Map.has(&2, AmlObject, m, p))

Uses (6)

Used by (10)