def code.kept

emerging-ezhttp@0.21.0.0 · src/unescape.bend:82

import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescape
import Base

82# a code point in range: nothing when Python drops it, else the character
83def code.kept(+n: U32, drop: Bool) -> String:
84  match drop:
85    case True{}:
86      ""
87    case False{}:
88      SCon{Chr{n}, ""}

Uses (4)

Used by (1)