Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

test-object

tobihrbr5MIT1.0.0

Test if var is an object.

readme

test-object

Test if var is an object.

Install

$ npm install --save test-object

Usage

const testObject = require('test-object');

testObject('unicorns');
// false

testObject({ happiness: true });
// false

License

MIT © tobihrbr