Premier commit déjà bien avancé
This commit is contained in:
15
frontend/node_modules/@marijn/find-cluster-break/dist/index.d.cts
generated
vendored
Normal file
15
frontend/node_modules/@marijn/find-cluster-break/dist/index.d.cts
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
Query whether the given character has a `Grapheme_Cluster_Break`
|
||||
value of `Extend` in Unicode.
|
||||
*/
|
||||
export declare function isExtendingChar(code: number): boolean
|
||||
|
||||
/**
|
||||
Returns a next grapheme cluster break _after_ (not equal to) `pos`,
|
||||
if `forward` is true, or before otherwise. Returns `pos` itself if no
|
||||
further cluster break is available in the string. Moves across
|
||||
surrogate pairs, extending characters (when `includeExtending` is
|
||||
true, which is the default), characters joined with zero-width joiners,
|
||||
and flag emoji.
|
||||
*/
|
||||
export declare function findClusterBreak(str: string, pos: number, forward?: boolean, includeExtending?: boolean): number
|
||||
Reference in New Issue
Block a user