@technobuddha > library > String > Operations
Function: indent()
ts
function indent(input: string, options: IndentOptions): string;Defined in: indent.ts:22
Indent each line of a string
Parameters
| Parameter | Type | Description |
|---|---|---|
input | string | The string to indent |
options | IndentOptions | see IndentOptions |
Returns
string
string with each line indented
Default Value
ts
indenter space