Skip to content

@technobuddha > library > String > Deconstruction

Function: splitLines()

ts
function splitLines(input: string): string[];

Defined in: split-lines.ts:10

Split a string into an array of lines

Parameters

ParameterTypeDescription
inputstringThe string to split

Returns

string[]

array of lines