Handle.isValid

bool isValid() @property const pure @safe nothrow @nogc

Check whether the wrapped handle is valid for the current platform.

Returns

true when the wrapped handle is usable.