Skip to main content

TextUtils

Classes

TextUtils

Constructors

Constructor
new TextUtils(): TextUtils;
Returns

TextUtils

Methods

correctPlainMultilineText()
static correctPlainMultilineText(text): string;
Parameters
ParameterType
textstring
Returns

string

isTextEmpty()
static isTextEmpty(text): text is "" | "<p></p>" | "<p><span></span></p>";
Parameters
ParameterType
textstring
Returns

text is "" | "<p></p>" | "<p><span></span></p>"

Was this page helpful?