Does a JS type's prototype have a property
npm install is-proto-prop
> Does a JS type's prototype have a property
npm install --save is-proto-prop
`Usage
$3
`javascript
import isProtoProp from 'is-proto-prop';isProtoProp('array', 'length');
// => true
isProtoProp('Error', 'ignore');
// => false
//
is-proto-props can only verify native JS types
isProtoProp('gulp', 'task');
// => false
`API
$3
Returns a Boolean if propertyName is on type's prototype.#### type
type:
stringJS type to examine the prototype of. Note:
is-proto-prop only looks at native JS types.#### propertyName
type:
stringProperty name to look for on
type's prototype. Note: propertyName` is case sensitive.