my-idlers/node_modules/es5-ext/test/object/is-value.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

15 lines
254 B
JavaScript
Vendored

"use strict";
module.exports = function (t, a) {
a(t(), false);
a(t(undefined), false);
a(t(null), false);
a(t(NaN), true);
a(t(0), true);
a(t(false), true);
a(t("null"), true);
a(t(""), true);
a(t({}), true);
a(t(Object.prototype), true);
};