f
indentString(): string
string: string,
count?: number,
options?: { indent?: string; includeEmptyLines?: boolean; }
Prepends count repetitions of indent (default: one space) to each non-empty line of string.
Usage
import * as mod from "lib/utils/indent-string.ts";