_an-object.js 154 Bytes
Newer Older
liang ce committed
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;
};