Locaft/auth/node_modules/is-obj
Priyatham-sai-chand 1f1d823ec8 user auth register backend 2020-11-08 22:58:21 +05:30
..
index.d.ts user auth register backend 2020-11-08 22:58:21 +05:30
index.js user auth register backend 2020-11-08 22:58:21 +05:30
license user auth register backend 2020-11-08 22:58:21 +05:30
package.json user auth register backend 2020-11-08 22:58:21 +05:30
readme.md user auth register backend 2020-11-08 22:58:21 +05:30

readme.md

is-obj Build Status

Check if a value is an object

Keep in mind that array, function, regexp, etc, are objects in JavaScript.
See is-plain-obj if you want to check for plain objects.

Install

$ npm install is-obj

Usage

const isObject = require('is-obj');

isObject({foo: 'bar'});
//=> true

isObject([1, 2, 3]);
//=> true

isObject('foo');
//=> false
  • is - Type check values

License

MIT © Sindre Sorhus