is-object-like
v1.0.1
Published
Check if a value can be assigned properties (objects and functions)
Downloads
5
Maintainers
Readme
is-object-like
Check if a value can be assigned properties (objects and functions)
Install
$ npm install --save is-object-like
Usage
var isObjectLike = require('is-object-like')
isObjectLike({}) // true
isObjectLike(function () {}) // true
isObjectLike(null) // false
API
isObjectLike(value)
-> boolean
value
Required
Type: any
The value to type check.
License
MIT © Ben Drucker