Skip to main content

isEmptyGeometry

Whether a validated geometry holds no positions: empty coordinates, or a collection whose members are all empty.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { isEmptyGeometry } from "@mapcairn/core";

function isEmptyGeometry(geometry: Geometry): boolean;

Parameters​

  • geometry (Geometry)

Returns​

boolean

Source: packages/core/src/geometry/validate.ts:232