are-objects

1.0.0 • Public • Published

are-objects

Function for check if all values are objects.

Installation

With the simple command npm install are-objects.

Usage

The function takes any arguments as you want.

Example:

const areObjects = require('are-objects');
 
areObjects({}, 12, [1, null]); // false
areObjects([], {foo: false}); // true
areObjects(function(){}, String()); // false

Test

You should have installed globaly jasmine-node for test this package, then execute npm run test.

License

MIT

/are-objects/

    Package Sidebar

    Install

    npm i are-objects

    Weekly Downloads

    1,348

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • rich-97