Function: getLineIndentation()
function getLineIndentation(sourceText: string, offset: number): string;
Defined in: _internal/yaml-fixes.ts:35
Read the indentation prefix of the line containing the provided offset.
Parametersโ
sourceTextโ
string
offsetโ
number
Returnsโ
string