key-exists
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

key-exists

CircleCI NPM Downloads node License MIT

Check if Object has Property, super fast

Highlights

  • Super Fast

  • Written in Typescript

Usage

 
import keyExists from 'key-exists';
 
const greet = {
  hello: 'world',
  bonjour: 'le monde'
  };
 
keyExists(greet, 'hello'); // true
keyExists(greet, 'bye'); // false
 

License

MIT © Nivrith Mandayam Gomatam

Package Sidebar

Install

npm i key-exists

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

157 kB

Total Files

9

Last publish

Collaborators

  • nivrith