Skip to content

UnindentParams

Parameters for unindent.

Import:

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

Signature:

export interface UnindentParams

Properties

PropertyTypeDescription
prefixstringThe prefix to remove from each line.
shouldThrowIfNotIndented?booleanIf true, throws an error if a line is not indented with the prefix.
textstringThe string to unindent.

Links to this page: