npm and error messages

This commit is contained in:
2018-10-27 03:51:47 -05:00
parent 692ab70565
commit 025a403027
29601 changed files with 2759363 additions and 14 deletions
+7
View File
@@ -0,0 +1,7 @@
"use strict";
var isImplemented = require("../../../number/is-integer/is-implemented");
module.exports = function (a) {
a(isImplemented(), true);
};
+3
View File
@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");
+5
View File
@@ -0,0 +1,5 @@
"use strict";
module.exports = function (t, a) {
a(typeof t(), "boolean");
};
+9
View File
@@ -0,0 +1,9 @@
"use strict";
module.exports = function (t, a) {
a(t(2), true, "Number");
a(t(2.34), false, "Float");
a(t("23"), false, "Not numeric");
a(t(NaN), false, "NaN");
a(t(Infinity), false, "Infinity");
};