@serenity-is/corelib / toSingleLine

Function: toSingleLine()

toSingleLine(str): string

Defined in: src/compat/strings-compat.ts:61

Converts the string to single line by removing line end characters

Parameters

str

string

String to convert.

Returns

string