_a-function.js 125 Bytes
Newer Older
liang ce committed
1 2 3 4
module.exports = function (it) {
  if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  return it;
};