https://github.com/herber/test-object
Test if var is an object.
https://github.com/herber/test-object
node object testing
Last synced: 2 months ago
JSON representation
Test if var is an object.
- Host: GitHub
- URL: https://github.com/herber/test-object
- Owner: herber
- License: mit
- Created: 2017-03-01T15:44:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-01T16:25:49.000Z (over 9 years ago)
- Last Synced: 2026-04-01T09:41:32.354Z (3 months ago)
- Topics: node, object, testing
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# test-object
> Test if var is an object.
## Install
```
$ npm install --save test-object
```
## Usage
```js
const testObject = require('test-object');
testObject('unicorns');
// false
testObject({ happiness: true });
// false
```
## License
MIT © [tobihrbr](https://tobihrbr.com)