Function UtmCoordinate.isValid

True when the coordinate is structurally valid.

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

Example

Example checking a tagged UTM coordinate.

import geodesy;
const coordinate = UtmCoordinate!double.fromComponents(
    UtmZone.fromNumber(33), UtmHemisphere.north, 500_000.0, 5_340_000.0);
assert(coordinate.isValid);