Merge Complete
This commit is contained in:
1 parent
482ef7a81a
commit
dabe23d505
6483 files changed
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