def val.hexdig

bend-osdev-acpi@0.1.1.0 · aml_value.bend:115

import bend-osdev-acpi@0.1.1.0/aml_value.bend as AmlValue
import Base

115def val.hexdig(+c: U32) -> Maybe<&2, U32>:
116  val.hexdig.pick(Bool.and(U32.is_le(48, c), U32.is_le(c, 57)), Bool.and(U32.is_le(65, c), U32.is_le(c, 70)), Bool.and(U32.is_le(97, c), U32.is_le(c, 102)), c)

Uses (5)

Used by (1)