namespace
object_utils
Source: functions.
Methods
Methods
static
entries(obj) → Array of any
Same as the built in Object.entries
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
obj |
object |
|
The object to get entries from |
- Returns
-
Array of anyAn array of key-value tuples
static
keys(obj) → Array of string
Same as the built in Object.keys
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
obj |
object |
|
The object to get keys from |
- Returns
-
Array of string
static
values(obj) → Array of any
Same as the built in Object.values
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
obj |
object |
|
The object to get values from |
- Returns
-
Array of any