Adds indentation to all lines of a string, including the first line.
The indentation string to add (default: two spaces)
A new string with all lines indented
indent('hello\nworld') // ' hello\n world' Copy
indent('hello\nworld') // ' hello\n world'
Adds indentation to all lines of a string, including the first line.