Alias equalBy

Compares two things together by comparing a common publicly visible field of T and U.

alias equalBy ;

It can be customized with a unary or binary predicate. If a unary predicate is provided then it acts as a transformation that is applies to the elements being compare for equality. If a binary predicate is provided then that binary predicate is given the values and must return true or false.

The Params

member = which member in T and U to perform equlity on pred = a nullary, unary, or binary predicate lhs = left hand side of == rhs = right hand side of ==

Returns

True if successful evaluation of predicates or values equal

Since

0.0.1