Module

Data.Char

Package
purescript-strings
Repository
purescript/purescript-strings

A type and functions for single characters.

#toCharCode Source

toCharCode :: Char -> Int

Returns the numeric Unicode value of the character.

#fromCharCode Source

fromCharCode :: Int -> Maybe Char

Constructs a character from the given Unicode numeric value.