MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isEmoji

Function isEmoji

src/ink/termio/parser.ts:29–37  ·  view source on GitHub ↗
(codePoint: number)

Source from the content-addressed store, hash-verified

27// =============================================================================
28
29function isEmoji(codePoint: number): boolean {
30 return (
31 (codePoint >= 0x2600 && codePoint <= 0x26ff) ||
32 (codePoint >= 0x2700 && codePoint <= 0x27bf) ||
33 (codePoint >= 0x1f300 && codePoint <= 0x1f9ff) ||
34 (codePoint >= 0x1fa00 && codePoint <= 0x1faff) ||
35 (codePoint >= 0x1f1e0 && codePoint <= 0x1f1ff)
36 )
37}
38
39function isEastAsianWide(codePoint: number): boolean {
40 return (

Callers 1

graphemeWidthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected