Skip to content

@technobuddha > library > String > Operations

Function: unindent()

ts
function unindent(input: string, pattern: IndentOptions): string;

Defined in: unindent.ts:12

Remove indentation from text

Parameters

ParameterTypeDescription
inputstringThe indented text
patternIndentOptions(space)

Returns

string