time-to-botec/squiggle/node_modules/@stdlib/assert/is-strict-equal/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
681 B
Plaintext

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