UNPKG

unicode-shaper

Version:

Shape unicode text so that renderers like WebGL and WebGPU can properly display the glyphs.

9 lines (8 loc) 206 B
/** * Check if a character is Thai * @param c - input unicode character * @returns - true if the character is Thai */ export function isThai(c: number): boolean { return c >= 0xfe70 && c <= 0xfeff; }