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

5 lines
125 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
module.exports = function (it) {
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
return it;
};