@serenity-is/corelib / trimEnd
Function: trimEnd()
trimEnd(
s):any
Defined in: src/compat/strings-compat.ts:75
Removes trailing whitespace from a string.
Parameters
s
string
The input string; null/undefined yields "".
Returns
any
The string without trailing whitespace.
Deprecated
Use String.prototype.trimEnd / trimRight directly.