securityos/node_modules/core-js/modules/_a-function.js

5 lines
125 B
JavaScript

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