mirror of
https://github.com/tiennm99/FBcount.git
synced 2026-05-20 07:25:48 +00:00
Init
This commit is contained in:
+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