]> git.r.bdr.sh - rbdr/dotfiles/blob
2f3b4e674ecc4bc45d39d51b0a1b9ab93619f16d
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 a(t({}), 0, "NaN");
5 a(t(20), 20, "Positive integer");
6 a(t(-20), 0, "Negative integer");
7 a(t(Infinity), Infinity, "Infinity");
8 a(t(15.343), 15, "Float");
9 a(t(-15.343), 0, "Negative float");
10 };