1.0.0 • Published 8 years ago
has-props v1.0.0
Install
$ npm install has-props
# OR
$ yarn add has-propsUsage
const hasProp = require('has-props')
const foo = {}
const bar ={baz: 'foo'}
hasProp(foo) // false
hasProp(bar) // trueContributing
Contributions are welcome!
- Fork it.
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
Or open up a issue.
License
Licensed under the MIT License.
1.0.0
8 years ago