Const
Returns a 32-bit hash value for the number x
, if defined; otherwise
returns 0
or 1
if x
is undefined
or null
, respectively.
Returns the relative order of x
with respect to y
. Returns -1
if
the number x
less than the number y
; returns 1
if the number x
is
greater than the number y
; and returns 0
if x
and y
are equal
numbers, or if both are NaN
. If either x
or y
is NaN
, null
,
or undefined
, then numbers order before NaN
, NaN
orders before
null
, and null
orders before undefined
.
Generated using TypeDoc
Utilities for comparing and hashing numbers.