Function isNoGlobs

Check is pattern is _NOGLOBS__. This means glob patterns from the less preferable MIME paths should be ignored.

bool isNoGlobs(T) (
  scope const(T)[] pattern
) pure nothrow @nogc @safe
if (is(T == char) || is(T == ubyte) || is(T == byte) || is(T == void));

Example

assert(isNoGlobs("__NOGLOBS__"));
assert(!isNoGlobs("someglob"));