1.0.1 • Published 9 years ago

is-object-like v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

is-object-like Build Status

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