Function OwnedRasterImportResult.ok

Whether the import completed successfully.

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

Example

Example checking that the default import result is not success.

import raster;

OwnedRasterImportResult result;
assert(!result.ok);