Debian Codegraph @

test/object/is-natural-number.js

raw symbols SCIP
1 "use strict";
2
3 module.exports = function (t, a) {
4 a(t(undefined), false, "Undefined");
5 a(t(null), true, "Null");
6 a(t(2), true, "Number");
7 a(t(-2), false, "Negative");
8 a(t(2.34), false, "Float");
9 a(t("23"), true, "Numeric string");
10 a(t(NaN), false, "NaN");
11 a(t(Infinity), false, "Infinity");
12 };