mirror of
https://github.com/tiennm99/MTTools.git
synced 2026-10-06 20:16:04 +00:00
Init
This commit is contained in:
1 parent
626956b745
commit
823b914aa6
4280 files changed
+484929
No files matched your search
+8
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user