def StateValue.is_valid

bend-trace-context@0.2.0.0 · trace_context.bend:1789

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

1789# value = 0*255( chr ) nblk-chr: 1 to 256 printable ASCII characters other
1790# than "," and "=", the last of which is not a space (W3C 3.3.2.2.2).
1791def StateValue.is_valid(text: String) -> Bool:
1792  match text:
1793    case SNil{}:
1794      False{}
1795    case SCon{char, tail}:
1796      StateValue.valid.go(tail, char, 255n)

Uses (3)

Used by (3)