mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 03:38:24 -04: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;
|
|
};
|
|
|