def StateChar.is_value_end
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
1737# nblk-chr: %x21-2B / %x2D-3C / %x3E-7E, printable ASCII other than space,
1738# "," and "=". A value ends with one of these.
1739def StateChar.is_value_end(char: Char) -> Bool:
1740 match char:
1741 case Chr{+code}:
1742 Bool.or(StateChar.in_range(code, 33, 43), Bool.or(StateChar.in_range(code, 45, 60),
1743 StateChar.in_range(code, 62, 126)))