Function RasterAllocatedTransformResult.ok

Whether allocation, retained construction and transform all succeeded.

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

Example

Example reading success from a default allocating-transform result.

import raster;
RasterAllocatedTransformResult!float result;
assert(!result.ok);