repl.txt (681B)
1 2 {{alias}}( a, b ) 3 Tests if two arguments are strictly equal. 4 5 The function differs from the `===` operator in that the function treats 6 `-0` and `+0` as distinct. 7 8 Parameters 9 ---------- 10 a: any 11 First input value. 12 13 b: any 14 Second input value. 15 16 Returns 17 ------- 18 bool: boolean 19 Boolean indicating whether two arguments are strictly equal. 20 21 Examples 22 -------- 23 > var bool = {{alias}}( true, true ) 24 true 25 > bool = {{alias}}( {}, {} ) 26 false 27 > bool = {{alias}}( -0.0, -0.0 ) 28 true 29 > bool = {{alias}}( -0.0, 0.0 ) 30 false 31 > bool = {{alias}}( NaN, NaN ) 32 false 33 34 See Also 35 -------- 36