labs.object

Classes


Public Protected Private

Global Functions

goog.labs.object.is(vv2) boolean
Whether two values are not observably distinguishable. This correctly detects that 0 is not the same as -0 and two NaNs are practically equivalent. The implementation is as suggested by harmony:egal proposal.
Arguments:
v : *
The first value to compare.
v2 : *
The second value to compare.
Returns: boolean  Whether two values are not observably distinguishable.
code »

Package labs

Package Reference