is-function.js 213 B

1234567
  1. "use strict";
  2. var objToString = Object.prototype.toString, id = objToString.call(require("./noop"));
  3. module.exports = function (value) {
  4. return typeof value === "function" && objToString.call(value) === id;
  5. };