Tumortisch-Dist/resources/app/node_modules/es5-ext/test/string/is-string.js

12 lines
290 B
JavaScript
Raw Normal View History

2021-06-15 16:00:08 +02:00
"use strict";
module.exports = function (t, a) {
a(t(null), false, "Null");
a(t(""), true, "Empty string");
a(t(12), false, "Number");
a(t(false), false, "Boolean");
a(t(new Date()), false, "Date");
a(t(new String("raz")), true, "String object");
a(t("asdfaf"), true, "String");
};