Skip to content

Latest commit

 

History

History
72 lines (37 loc) · 964 Bytes

File metadata and controls

72 lines (37 loc) · 964 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > Text > convertTo

Text.convertTo() method

Converts all newlines in the provided string to use the specified newline type.

Signature:

static convertTo(input: string, newlineKind: NewlineKind): string;

Parameters

Parameter

Type

Description

input

string

newlineKind

NewlineKind

Returns:

string