Function RasterHistogramResult.ok

Whether all counts were produced successfully.

bool ok() pure nothrow @property @nogc @safe const;

Example

Example verifying the default result cannot be mistaken for success.

import raster;
RasterHistogramResult result;
assert(!result.ok);
assert(result.belowRange == 0);
assert(result.aboveRange == 0);
assert(result.nanCount == 0);
}