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)
  2. T[] unindent(T[] lines)
    T[]
    unindent
    (
    T
    )
    (
    T[] lines
    )
    if (
    isSomeString!T
    )

Meta