@krab/isuseableobject

1.0.1 • Public • Published

isuseableobject

v1.0.1

We follow [breaking].[feature].[fix] versioning

npm install --save @krab/isuseableobject

This module provides a simple function that can be used to check that whether a given variable can be used as an object. Usage given below.

import isuseableobject from '@krab/isuseableobject'; // in projects with ES7 modules
const isuseableobject = require('@krab/isuseableobject/common'); // in projects with common JS modules

isuseableobject({}); // returns true
isuseableobject(1); // returns false

Readme

Keywords

none

Package Sidebar

Install

npm i @krab/isuseableobject

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kapv89