Skip to content

Doc.getLine method

Doc › getLine

Unofficial

Gets the content of the given line.

Signature:

getLine(n: number): string

Parameters:

Parameter Type Description
n number The line number.

Returns: stringThe content of the line.