valid-callable.js 154 B

1234567
  1. "use strict";
  2. module.exports = function (t, a) {
  3. var f = function () {};
  4. a(t(f), f, "Function");
  5. a.throws(function () { t({}); }, "Not Function");
  6. };