Bitmap.isValid

bool isValid() const @safe nothrow @nogc

Checks if the bitmap was created successfully.

Returns

true if the bitmap handle is valid