You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- "use strict";
-
- var isFunction = require("../function/is");
-
- var classRe = /^\s*class[\s{/}]/, functionToString = Function.prototype.toString;
-
- module.exports = function (value) {
- if (!isFunction(value)) return false;
- if (classRe.test(functionToString.call(value))) return false;
- return true;
- };
|