DEPRECATED - replaced with @turf/boolean-equal
determine whether two geojson objects are equal
Determine whether two GeoJSON objects are equal to each other.
parameter | type | description |
---|---|---|
a |
GeoJSON | the first object |
b |
GeoJSON | the first object |
// turf.equal(turf.point([0,0]), turf.point([1,1]))
Returns Boolean
, true, if the objects are equal, false if not.
Requires nodejs.
$ npm install turf-equal
$ npm test