Files
ThreatHunt/frontend/node_modules/is-negative-zero/index.js
mblanke 3c7e9b9eee CLAUDE branch
i made have screwed the pooch with this
2025-06-17 07:43:33 -04:00

8 lines
149 B
JavaScript

'use strict';
/** @type {import('.')} */
module.exports = function isNegativeZero(number) {
return number === 0 && (1 / number) === -Infinity;
};