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

utils/prop-is
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 is of the given type;

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

propIs (type:Function, name:String, obj:*) : Boolean

Returns true if the specified object property is of the given type; false otherwise.

Example

R.propIs(Number, 'x', {x: 1, y: 2});  //=> true
     R.propIs(Number, 'x', {x: 'foo'});    //=> false
     R.propIs(Number, 'x', {});            //=> false

Arguments

type: Function

name: String

obj: *

Returns

Boolean