$.an-object.js 150 Bytes Raw Blame History Permalink 1 2 3 4 5 var isObject = require('./$.is-object'); module.exports = function(it){ if(!isObject(it))throw TypeError(it + ' is not an object!'); return it; };