Skip to content

Documentation


Documentation / @blazetrails/activesupport / indent

Function: indent() ​

indent(str, amount, indentString?, indentEmptyLines?): string

Defined in: packages/activesupport/lib/string-utils.ts:155

Parameters ​

ParameterTypeDefault value
strstringundefined
amountnumberundefined
indentStringstring | nullnull
indentEmptyLinesbooleanfalse

Returns ​

string