Function UpsProjection.isValid

True when this value represents a prepared UPS projection.

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

Example

Example checking a prepared UPS projection.

import geodesy;
assert(UpsProjection!double.fromHemisphere(
    UpsHemisphere.north).isValid);
assert(!UpsProjection!double.init.isValid);