toLowerIfASCII

Return s lowercased if s is an ASCII-string, otherwise defaultValue.

  1. string toLowerIfASCII(const(char)[] s, string defaultValue)
    @safe pure nothrow
    string
    toLowerIfASCII
    (
    scope const(char)[] s
    ,)
  2. inout(char)[] toLowerIfASCII(inout(char)[] s)

Meta