is-callable.js 179 B

12345678
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t(function () {}), true, "Function");
  4. a(t({}), false, "Object");
  5. a(t(), false, "Undefined");
  6. a(t(null), false, "Null");
  7. };