@el3um4s/is-object
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

isObject

Checks if a value is an object

NPM link: @el3um4s/is-object

Install and use the package

To use the package in a project:

npm i @el3um4s/is-object

and then in a file:

import isObject from "@el3um4s/is-object";

const a = { hello: "world" };

console.log(isObject(a));
// true

const b = "hello world";
console.log(isObject(b));
// false

Package Sidebar

Install

npm i @el3um4s/is-object

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

3.79 kB

Total Files

5

Last publish

Collaborators

  • el3um4s