aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es5-ext/test/string/is-string.js
blob: 0e831221d7c4a7f1bc4b91c751c2e2a68070c867 (plain)
1
2
3
4
5
6
7
8
9
10
11
"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");
};