Skip to content

unindent

Unindents a string by removing a prefix from each line.

Import:

import { unindent } from 'obsidian-dev-utils/string';

Signature:

function unindent(params: UnindentParams): string

Parameters:

ParameterTypeDescription
paramsUnindentParamsThe parameters.

Returns: string — The unindented string.


Links to this page: