mirror of
https://github.com/mblanke/ThreatHunt.git
synced 2026-03-01 14:00:20 -05:00
8 lines
149 B
JavaScript
8 lines
149 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('.')} */
|
|
module.exports = function isNegativeZero(number) {
|
|
return number === 0 && (1 / number) === -Infinity;
|
|
};
|
|
|