37cb21d ←1fb365aantonApr 13, 2026 api

trashed index.d.ts

? /sublimated/undefined +0 -15
1/**
2 Query whether the given character has a `Grapheme_Cluster_Break`
3 value of `Extend` in Unicode.
4*/
5export declare function isExtendingChar(code: number): boolean
6
7/**
8 Returns a next grapheme cluster break _after_ (not equal to) `pos`,
9 if `forward` is true, or before otherwise. Returns `pos` itself if no
10 further cluster break is available in the string. Moves across
11 surrogate pairs, extending characters (when `includeExtending` is
12 true, which is the default), characters joined with zero-width joiners,
13 and flag emoji.
14*/
15export declare function findClusterBreak(str: string, pos: number, forward?: boolean, includeExtending?: boolean): number