Deep compare objects and arrays
npm install @codefeathers/iseqisEq is a very tiny module that deep compares objects or arrays.
Although its intention is deep comparison, isEq can compare several datatypes.
| Datatype | Support |
|--------------------- |--- |
| Number | ✅ |
| String | ✅ |
| Boolean | ✅ |
| Object | ✅ |
| Array | ✅ |
| Cyclic Object/Array | ✅ |
| Regexp | ✅ |
| Function | ✅ |
| Symbol | ✅ |
> Note: functions and symbols are compared by identity. Regexp is stringified before comparison.
> Unhandleable inputs fall back to strict equality (===)
Node:
``Shell`
npm install --save @codefeathers/iseq
In the browser:
`HTML