1.0.2 • Published 6 years ago
@bikossor/in-object v1.0.2
in-object
The fastest way to check wether an JavaScript object has a certain property or not.
Installing
Node.js environment
npm i @bikossor/in-object --save
Browser environment
Download the latest version of in-object here.
Usage
Node.js environment
const inObject = require("@bikossor/in-object");
// First letter uppercase:
inObject('Foo', {
Foo: 'bar'
});
// => true
// Completely lowercase:
inObject('foo', {
Foo: 'bar'
});
// => false
Benchmark
Coming soon!
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Bikossor (Initial Creator)
See also the list of contributors who participated in this project.
License
This project is licensed under the GPL-3.0 License - see here for more details.