def AmlNs.has
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNsimport 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))
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNsimport 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))