Skip to main content

strict_equal

Function strict_equal 

Source
pub fn strict_equal<'js>(a: &Value<'js>, b: &Value<'js>) -> bool
Expand description

===: Object.is on primitives (so NaN matches itself and 0 does not match -0), identity on everything else.