Package Exports
- @thi.ng/equiv
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thi.ng/equiv) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@thi.ng/equiv
This project is part of the @thi.ng/umbrella monorepo.
About
Deep equivalence checking for any data types. Supports:
- JS primitives
- arrays
- plain objects
- ES6 Sets / Maps
- Date
- RegExp
- types with
.equiv()
implementations
This feature was previously part of the @thi.ng/api package.
Installation
yarn add @thi.ng/equiv
Dependencies
Usage examples
import { equiv } from "@thi.ng/equiv";
equiv({a: {b: [1, 2]}}, {a: {b: [1, 2]}});
// true
Authors
- Karsten Schmidt
License
© 2018 Karsten Schmidt // Apache Software License 2.0