unindent
Unindents a string by removing a prefix from each line.
Import:
import { unindent } from '@mnaoumov/typescript-lib/string';Signature:
function unindent(params: UnindentParams): stringParameters:
| Parameter | Type | Description |
|---|---|---|
params |
UnindentParams | The parameters. |
Returns: string — The unindented string.
Links to this page: