Function BasicString.opCmp
Compares the contents of a string with another string, range, char/wchar/dchar or integer.
int opCmp
(
scope const BasicString . CharType[] rhs
) const pure nothrow @nogc scope @safe;
int opCmp(Rhs)
(
auto scope ref Rhs rhs
) const scope
if (isBasicString!Rhs || isSomeChar!Rhs || isSomeString!Rhs || isCharArray!Rhs || isIntegral!Rhs || isInputCharRange!Rhs);