1
0

is-string.js 290 B

1234567891011
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t(null), false, "Null");
  4. a(t(''), true, "Empty string");
  5. a(t(12), false, "Number");
  6. a(t(false), false, "Boolean");
  7. a(t(new Date()), false, "Date");
  8. a(t(new String('raz')), true, "String object");
  9. a(t('asdfaf'), true, "String");
  10. };