2019-09-13 09:44:33 +07:00

5 lines
125 B
JavaScript

module.exports = function (it) {
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
return it;
};