Skip to content

unindent

Unindents a string by removing a prefix from each line.

Import:

import { unindent } from '@mnaoumov/typescript-lib/string';

Signature:

function unindent(params: UnindentParams): string

Parameters:

Parameter Type Description
params UnindentParams The parameters.

Returns: string — The unindented string.


Links to this page: