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

utils/path-satisfies
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns `true` if the specified object property at given path satisfies 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/path-satisfies in your project
npm i @bit/bit.ramda.utils.path-satisfies
Copied

pathSatisfies (pred:Function, propPath:Array, obj:*) : Boolean

Returns true if the specified object property at given path satisfies the given predicate; false otherwise.

Example

R.pathSatisfies(y => y > 0, ['x', 'y'], {x: {y: 2}}); //=> true

Arguments

pred: Function

propPath: Array

obj: *

Returns

Boolean