def wide

bolt@1.27.0.0 · src/lsp/enc.bend:61

import bolt@1.27.0.0/src/lsp/enc.bend as Enc
import Base

61# does a char take two UTF-16 code units (it lies past U+FFFF)?
62def wide(cc: Char) -> Bool:
63  U32.is_le(65536, Char.to_u32(cc))

Uses (4)

Used by (3)