URI.hasFragment

bool hasFragment() const @nogc nothrow @safe

True if the fragment component is present and non-empty.

Returns

true if the fragment string is non-empty, false otherwise.