Showing 21-40 of 3,510 packages
A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.
Extends Chai with an assertion for deeply matching objects (i.e. subset equality checking)
chai plugin to match objects and arrays deep equality with arrays (including nested ones) being in any order
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Equality checking functions that work for both primitive types and objects, including nested objects and cyclic objects with a circular reference.
Assert on equality of json representations in Chai
Immutable finite list objects with constant-time equality testing (===) and no memory leaks
Chai assertions for byte arrays equality
A function to test for identical deep equality (based on lodash's isEqual).
Efficient shallow equality algorithm that also allows checks for react element equality of children props
An efficient equality algorithm for React Native inline styles
Jest matcher to validate xml equality
Diff two arrays, finding inserts, removes, and moves, using an asynchronous equality function
Efficient shallow equality algorithm for React and React Native
Only run the equality check on the first [n] arguments when using reselect
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
A Handlebars helper for testing equality
Id equality assertions for chai
ES Map/Set-compatible implementations with customizable equality semantics & supporting operations
JavaScript fast deep equality, but treating missing/undefined properties as equal