Added npm dependency

This commit is contained in:
Pedro Pinto committed 2020-05-19 11:51:04 -04:00
1 parent 888dd9af1e
commit 8dfc6caa7e
21061 files changed
+3885381

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
"use strict";
var isFunction = require("./is-function");
module.exports = function (value) {
if (!isFunction(value)) throw new TypeError(value + " is not a function");
return value;
};