Home > @rushstack/node-core-library > Text > getNewline
Text.getNewline() method
Returns the newline character sequence for the specified NewlineKind
.
Signature:
static getNewline(newlineKind: NewlineKind): string;
Parameters
Parameter | Type | Description |
---|---|---|
newlineKind | NewlineKind |
Returns:
string