{"name":"@turf/boolean-equal","version":"4.7.3","keywords":["turf","gis","boolean","de-9im","equal","boolean-equal"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-equal@4.7.3","contributors":[{"name":"Tom MacWright","email":"@tmcw"},{"name":"Tim Channell","email":"@tcql"},{"name":"Stefano Borghi","email":"@stebogit"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"caa915deb53bfddd3f12b0665ec5afd9e0bdc9d6","tarball":"http://registry-npm.ywwl.com/@turf/boolean-equal/download/@turf/boolean-equal-4.7.3.tgz","integrity":"sha512-6EjO8gQ5Fg4n69jU5hUwSnoIyxxYrM07j76qYX5hxKCei5T2sE+wafCef/nBAG0PTxzFOeEUlJUGf9DEkHD4+Q==","signatures":[{"sig":"MEQCIEkD9tHAmFG3BtW3LvSUirw5zxGCOI+Sl/EVq5ZB7+jQAiBp8lQr+h+wHjHLE/Bv1THuh8pH9k9VCMcQPhpKuiRUfQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2490,"noattachment":false,"key":"/@turf/boolean-equal/-/@turf/boolean-equal-4.7.3.tgz"},"main":"index.js","_from":".","files":["index.js","index.d.ts"],"types":"index.d.ts","_shasum":"caa915deb53bfddd3f12b0665ec5afd9e0bdc9d6","scripts":{"test":"node test.js","bench":"node bench.js"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"3.10.10","description":"turf boolean-equal module","directories":{},"_nodeVersion":"6.11.2","dependencies":{"@turf/invariant":"^4.7.3","geojson-equality":"0.1.6","@turf/clean-coords":"^4.7.3"},"devDependencies":{"glob":"7.1.2","tape":"4.8.0","benchmark":"2.1.4","@turf/helpers":"^4.7.3","load-json-file":"2.0.0","boolean-shapely":"0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/boolean-equal-4.7.3.tgz_1505222498199_0.7501001870259643","host":"s3://npm-registry-packages"},"readme":"# @turf/boolean-equal\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## booleanEqual\n\nDetermine whether two geometries of the same type have identical X,Y coordinate values.\nSee [http://edndoc.esri.com/arcsde/9.0/general\\_topics/understand\\_spatial\\_relations.htm][1]\n\n### Parameters\n\n*   `feature1` **([Geometry][2] | [Feature][3])** GeoJSON input\n*   `feature2` **([Geometry][2] | [Feature][3])** GeoJSON input\n*   `options` **[Object][4]** Optional parameters (optional, default `{}`)\n\n    *   `options.precision` **[number][5]** decimal precision to use when comparing coordinates (optional, default `6`)\n\n### Examples\n\n```javascript\nvar pt1 = turf.point([0, 0]);\nvar pt2 = turf.point([0, 0]);\nvar pt3 = turf.point([1, 1]);\n\nturf.booleanEqual(pt1, pt2);\n//= true\nturf.booleanEqual(pt2, pt3);\n//= false\n```\n\nReturns **[boolean][6]** true if the objects are equal, false otherwise\n\n[1]: http://edndoc.esri.com/arcsde/9.0/general_topics/understand_spatial_relations.htm\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/boolean-equal\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n\n\n### Diagrams\n\n![esri-equals](diagrams/esri-equals.gif)","publish_time":1505222498346,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"_cnpm_publish_time":1505222498346,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}