Class: shaka.util.MapUtils
A set of map/object utility functions.
Methods
(static) asMap(objectnon-null) → (non-null) {Map.<KEY, VALUE>}
Parameters:
Name |
Type |
Description |
object |
Object.<KEY, VALUE>
|
|
- Source:
Returns:
-
Type
-
Map.<KEY, VALUE>
(private, static) asMap_(objectnon-null) → (non-null) {Map.<KEY, VALUE>}
Parameters:
Name |
Type |
Description |
object |
Object.<KEY, VALUE>
|
|
- Source:
Returns:
-
Type
-
Map.<KEY, VALUE>
(static) asObject(mapnon-null) → (non-null) {Object.<KEY, VALUE>}
Parameters:
Name |
Type |
Description |
map |
Map.<KEY, VALUE>
|
|
- Source:
Returns:
-
Type
-
Object.<KEY, VALUE>
(private, static) asObject_(mapnon-null) → (non-null) {Object.<KEY, VALUE>}
Parameters:
Name |
Type |
Description |
map |
Map.<KEY, VALUE>
|
|
- Source:
Returns:
-
Type
-
Object.<KEY, VALUE>
(static) values(objectnon-null) → (non-null) {Array.<VALUE>}
Gets the map's values.
Parameters:
Name |
Type |
Description |
object |
Object.<KEY, VALUE>
|
|
- Source:
Returns:
-
Type
-
Array.<VALUE>