Skip to content

@serenity-is/corelib / toSingleLine

Function: toSingleLine()

toSingleLine(str): string

Converts the string to single line by removing line end characters

Parameters

str

string

String to convert.

Returns

string

Defined in

src/q/strings-compat.ts:61