is-object.js 368 B

12345678910111213
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a(t("arar"), false, "String");
  4. a(t(12), false, "Number");
  5. a(t(true), false, "Boolean");
  6. a(t(null), false, "Null");
  7. a(t(new Date()), true, "Date");
  8. a(t(new String("raz")), true, "String object");
  9. a(t({}), true, "Plain object");
  10. a(t(/a/), true, "Regular expression");
  11. a(t(function () {}), true, "Function");
  12. };