is-date.js 261 B

12345678910
  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(new Date()), true, "Date");
  7. a(t(new String("raz")), false, "String object");
  8. a(t({}), false, "Plain object");
  9. };