| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > Text > convertTo
Converts all newlines in the provided string to use the specified newline type.
Signature:
static convertTo(input: string, newlineKind: NewlineKind): string;|
Parameter |
Type |
Description |
|---|---|---|
|
input |
string | |
|
newlineKind |
Returns:
string