This commit is contained in:
tiennm99 committed 2020-03-02 14:53:23 +07:00
1 parent 626956b745
commit 823b914aa6
4280 files changed
+484929

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;
};