Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Latest commit

 

History

History
44 lines (25 loc) · 851 Bytes

README.md

File metadata and controls

44 lines (25 loc) · 851 Bytes

DEPRECATED - replaced with @turf/boolean-equal

turf-equal

build status

determine whether two geojson objects are equal

turf.equal(a, b)

Determine whether two GeoJSON objects are equal to each other.

Parameters

parameter type description
a GeoJSON the first object
b GeoJSON the first object

Example

// turf.equal(turf.point([0,0]), turf.point([1,1]))

Returns Boolean, true, if the objects are equal, false if not.

Installation

Requires nodejs.

$ npm install turf-equal

Tests

$ npm test