UNPKG
textdotjs
Version:
latest (1.6.1)
1.6.1
1.6.0
1.5.9
1.5.8
1.5.7
1.5.6
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.3.0
1.2.0
1.1.0
text.js
textdotjs
/
template
/
node_modules
/
math-intrinsics
/
isNegativeZero.js
7 lines
(5 loc)
•
143 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
;
/**
@type
{
import('./isNegativeZero')
} */
module
.
exports
=
function
isNegativeZero
(
x
) {
return
x ===
0
&&
1
/ x ===
1
/ -
0
; };