lix-website/themes/lix/assets/bootstrap/node_modules/is-negative-zero/index.js
2024-04-26 22:49:34 -06:00

8 lines
149 B
JavaScript

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