valid-callable.js 157 B

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