Closure Library API Documentation
Go to class or file:
map.js
No description.
Useful links
Source Code
Git
File Location
/goog/structs/map.js
Classes
goog.structs.Map
Class for Hash Map datastructure.
Public
Protected
Private
Global Functions
goog.structs.Map.
defaultEquals
(
a
,
b
)
⇒
boolean
Default equality test for values.
Arguments:
a
:
*
The first value.
b
:
*
The second value.
Returns:
boolean
Whether a and b reference the same object.
code »
goog.structs.Map.
hasKey_
(
obj
,
key
)
⇒
boolean
Safe way to test for hasOwnProperty. It even allows testing for 'hasOwnProperty'.
Arguments:
obj
:
Object
The object to test for presence of the given key.
key
:
*
The key to check for.
Returns:
boolean
Whether the object has the key.
code »
Directory structs
File Reference