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

utils/prop-satisfies
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
1     DEPENDENCIES
Build: fail
BuildFail
Build Status: fail
Returns `true` if the specified object property satisfies the given

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/prop-satisfies in your project
npm i @bit/bit.ramda.utils.prop-satisfies
Copied

propSatisfies (pred:Function, name:String, obj:*) : Boolean

Returns true if the specified object property satisfies the given predicate; false otherwise. You can test multiple properties with R.where.

Example

R.propSatisfies(x => x > 0, 'x', {x: 1, y: 2}); //=> true

Arguments

pred: Function

name: String

obj: *

Returns

Boolean