Home > @infiniteobjects/core-library-node > StringBuilder > appendIndentedLine
Append the specified text to the buffer, preceded by the given indentation level and followed by a new line.
Signature:
appendIndentedLine(text: string, indentLevel?: number): void;
Parameter | Type | Description |
---|---|---|
text | string | |
indentLevel | number | (Optional) |
Returns:
void
Maximum indentation level is 10. If the specified indentation level is greater than 10, it will be clamped to 10.