A function type for comparing two Unicode code points.
The first Unicode code point (number)
The second Unicode code point (number)
True if the code points are considered equal, false otherwise
const strict: CharCompare = (a, b) => a === bconst insensitive: CharCompare = (a, b) => String.fromCodePoint(a).toLowerCase() === String.fromCodePoint(b).toLowerCase() Copy
const strict: CharCompare = (a, b) => a === bconst insensitive: CharCompare = (a, b) => String.fromCodePoint(a).toLowerCase() === String.fromCodePoint(b).toLowerCase()
A function type for comparing two Unicode code points.