def head_ws

bend-toon-codec@0.1.0.0 · src/text.bend:35

import bend-toon-codec@0.1.0.0/src/text.bend as Text
import Base

35def head_ws(+s: String) -> Bool:
36  match s:
37    case SNil{}:
38      False{}
39    case SCon{Chr{c}, t}:
40      is_ws(c)

Uses (4)

Used by (2)