Beta 7 with some repo names changed.
This commit is contained in:
1 parent
0f7b40cca7
commit
963c19493a
3408 files changed
+462217
-15516
No files matched your search
+8
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
var objToString = Object.prototype.toString
|
||||
, isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);
|
||||
|
||||
module.exports = function (value) {
|
||||
return typeof value === "function" && isFunctionStringTag(objToString.call(value));
|
||||
};
|
||||
Reference in new issue
Block a user