pixi-jsFunctions
Function: isCollapsibleSpace()
> isCollapsibleSpace(char): boolean
Defined in: node_modules/pixi.js/lib/scene/text/canvas/utils/textTokenization.d.ts:81
Internal
Determines if char is a CSS-collapsible whitespace character. Only regular space (U+0020) and tab (U+0009) are collapsible per CSS spec. Unicode spaces like em space are NOT collapsible.
Parameters
char
string
The character
Returns
boolean
True if collapsible, False otherwise.