time-to-botec/js/node_modules/@stdlib/assert/is-same-value-zero/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

37 lines
672 B
Plaintext

{{alias}}( a, b )
Tests if two arguments are the same value.
The function differs from the `===` operator in that the function treats
`NaNs` as the same.
Parameters
----------
a: any
First input value.
b: any
Second input value.
Returns
-------
bool: boolean
Boolean indicating whether two arguments are the same value.
Examples
--------
> var bool = {{alias}}( true, true )
true
> bool = {{alias}}( {}, {} )
false
> bool = {{alias}}( -0.0, -0.0 )
true
> bool = {{alias}}( -0.0, 0.0 )
true
> bool = {{alias}}( NaN, NaN )
true
See Also
--------