new Map()
Constructs a new map, optionally containing the properties of the specified
object.
Members
-
inverse :hangul.Map
-
Inverse view of the map.
Type:
Methods
-
add(k, v)
-
Parameters:
Name Type Description k
object key v
object value -
addAll(o)
-
Parameters:
Name Type Description o
object object whose properties are to be added to this map -
get(k)
-
Returns the associated object for the specified key or undefined if there is no mapping for the key.
Parameters:
Name Type Description k
object key -
hasKey(k)
-
Returns true if this map has a mapping for the specified key.
Parameters:
Name Type Description k
object key -
hasValue(v)
-
Returns true if this map has a mapping for the specified value.
Parameters:
Name Type Description v
object value