@diotoborg/necessitatibus-provident-adipisci

5.15.119 • Public • Published

@diotoborg/necessitatibus-provident-adipisci Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this value negative zero? === will lie to you.

Example

var isNegativeZero = require('@diotoborg/necessitatibus-provident-adipisci');
var assert = require('assert');

assert.notOk(isNegativeZero(undefined));
assert.notOk(isNegativeZero(null));
assert.notOk(isNegativeZero(false));
assert.notOk(isNegativeZero(true));
assert.notOk(isNegativeZero(0));
assert.notOk(isNegativeZero(42));
assert.notOk(isNegativeZero(Infinity));
assert.notOk(isNegativeZero(-Infinity));
assert.notOk(isNegativeZero(NaN));
assert.notOk(isNegativeZero('foo'));
assert.notOk(isNegativeZero(function () {}));
assert.notOk(isNegativeZero([]));
assert.notOk(isNegativeZero({}));

assert.ok(isNegativeZero(-0));

Tests

Simply clone the repo, npm install, and run npm test

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.15.1190latest

Version History

VersionDownloads (Last 7 Days)Published
5.15.1190
5.15.11855
5.15.11749
5.15.11664
4.15.11660
4.15.11566
4.15.11455
4.15.11361
3.15.11315
3.15.1127
3.15.1116
3.14.1113
3.13.1112
3.13.1101
3.12.1102
3.12.1091
3.12.1082
3.12.1072
3.12.1062
3.12.1052
3.12.1040
3.12.1030
3.12.1020
3.11.1020
3.11.1010
3.11.1000
3.10.1000
3.10.990
3.10.980
3.10.970
3.10.960
2.10.960
2.10.950
2.10.940
2.10.930
2.9.930
2.9.920
2.9.910
2.9.900
2.9.890
2.9.880
2.9.870
2.9.860
2.9.850
2.9.840
2.9.830
2.9.820
2.8.820
2.8.810
2.8.800
2.8.790
2.8.780
2.8.770
2.8.760
2.7.760
2.7.750
2.7.740
2.7.730
2.7.720
2.7.710
2.7.700
2.7.690
2.7.680
2.7.670
2.7.660
2.7.650
2.7.640
2.7.630
2.7.620
2.7.610
2.7.600
2.7.590
2.7.580
2.7.570
2.7.560
2.7.550
2.7.540
2.7.530
2.7.520
2.7.510
2.7.500
2.7.490
2.7.480
2.7.470
2.7.460
2.7.450
2.7.440
2.7.430
2.7.420
2.7.410
2.7.400
2.6.400
1.6.400
1.6.390
1.6.380
1.6.370
1.5.370
1.5.360
1.5.350
1.5.340
1.5.330
1.5.320
1.5.310
1.5.300
1.5.290
1.5.280
1.5.270
1.5.260
1.5.250
1.5.240
1.5.230
1.5.220
1.5.210
1.5.200
1.5.190
1.5.180
1.5.170
1.5.160
1.4.160
1.4.150
1.4.140
1.4.130
1.4.121
1.4.110
1.3.110
1.3.100
1.3.90
1.3.80
1.3.72
1.3.60
1.2.60
1.1.60
1.1.50
1.1.40
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @diotoborg/necessitatibus-provident-adipisci

Weekly Downloads

458

Version

5.15.119

License

MIT

Unpacked Size

217 kB

Total Files

606

Last publish

Collaborators

  • quochoanglm58