Share your code. Components are building blocks, you are the architect.

utils/eq-by
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Takes a function and two values in its domain and returns `true` if the

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/eq-by in your project
npm i @bit/bit.ramda.utils.eq-by
Copied

eqBy (f:Function, x:*, y:*) : Boolean

Takes a function and two values in its domain and returns true if the values map to the same value in the codomain; false otherwise.

Example

R.eqBy(Math.abs, 5, -5); //=> true

Arguments

f: Function

x: *

y: *

Returns

Boolean