Skip to content

Turfjs/turf-equal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

determine whether two geojson objects are equal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published