LogoPixi’VN
pixi-jsFunctions

Function: isBreakingSpace()

> isBreakingSpace(char, _nextChar?): boolean

Defined in: node_modules/pixi.js/lib/scene/text/canvas/utils/textTokenization.d.ts:72

Internal

Determines if char is a breaking whitespace.

It allows one to determine whether char should be a breaking whitespace For example certain characters in CJK langs or numbers. It must return a boolean.

Parameters

char

string

The character

_nextChar?

string

The next character (unused, for override compatibility)

Returns

boolean

True if whitespace, False otherwise.