UNPKG

crocks

Version:

A collection of well known Algebraic Datatypes for your utter enjoyment.

13 lines (9 loc) 297 B
/** @license ISC License (c) copyright 2016 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ var toString = Object.prototype.toString // isObject : a -> Boolean function isObject(x) { return !!x && toString.call(x) === '[object Object]' } module.exports = isObject