unindent

Unindents the lines of text as much as possible while preserving all relative indentation.

Inconsistent indentation (on lines that contain non-whitespace) is an error and throws an exception at runtime, or asserts when executed at compile-time.

  1. T unindent(T str)
    T
    unindent
    (
    T
    )
    (
    T str
    )
    if (
    isSomeString!T
    )
  2. T[] unindent(T[] lines)

Meta