pixi-jsFunctions
Function: trimRight()
> trimRight(text): string
Defined in: node_modules/pixi.js/lib/scene/text/canvas/utils/textTokenization.d.ts:110
Internal
Trims breaking whitespaces from the right side of a string.
Parameters
text
string
The text
Returns
string
Trimmed string