deepEqualsWith
Performs a deep equality check on two members, with support for custom equality function for primitive types.
Usage:
var isEqual =
where a
, b
are things we're testing equality for, and primitiveEquals is an optional hash from primitiveType => equalityFn with the shape:
primitiveEquals = boolean boolean ...