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

utils/prop
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns a function that when supplied an object returns the indicated

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

prop (p:String, obj:Object) : *

Returns a function that when supplied an object returns the indicated property of that object, if it exists.

Example

R.prop('x', {x: 100}); //=> 100
     R.prop('x', {}); //=> undefined

Arguments

p: String

The property name

obj: Object

The object to query

Returns

*

The value at `obj.p`.