def StateChar.is_key_start
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
1725# lcalpha / DIGIT: a lowercase ASCII letter (%x61-7A) or a digit (%x30-39),
1726# the first character of a key.
1727def StateChar.is_key_start(char: Char) -> Bool:
1728 match char:
1729 case Chr{+code}:
1730 Bool.or(StateChar.in_range(code, 97, 122), StateChar.in_range(code, 48, 57))