Adds one level of indentation for a multi-line string. Adds indentSize spaces to each non-empty line.
indented string
assert("a\nb".indent == " a\n b"); assert("a\nb\n\n".indent == " a\n b\n\n"); assert("a\nb\n".indent(2) == " a\n b\n");
See Implementation
Adds one level of indentation for a multi-line string. Adds indentSize spaces to each non-empty line.