katoikia-app/web-ui/web-react/node_modules/is-obj
Maria Sanchez 5abf040b42 fix web ui template 2022-07-05 22:15:11 -06:00
..
index.js fix web ui template 2022-07-05 22:15:11 -06:00
license fix web ui template 2022-07-05 22:15:11 -06:00
package.json fix web ui template 2022-07-05 22:15:11 -06:00
readme.md fix web ui template 2022-07-05 22:15:11 -06:00

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 --save is-obj

Usage

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

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

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

isObj('foo');
//=> false

License

MIT © Sindre Sorhus