is-function.js 232 B

12345678
  1. "use strict";
  2. var o = { call: Function.prototype.call, apply: Function.prototype.apply };
  3. module.exports = function (t, a) {
  4. a(t(function () {}), true, "Function is function");
  5. a(t(o), false, "Plain object is not function");
  6. };