def ns.exists

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

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

215def ns.exists(hit: Bool, p: String) -> Maybe<&2, String>:
216  match hit:
217    case True{}:
218      Some{p}
219    case False{}:
220      None{}

Uses (3)

Used by (1)