Get Keys
object.keys {
value = $object
} as $keys
| Parameter | Purpose | Example |
|---|---|---|
| $object | The variable that the object you’d like to target is stored | $object |
| as | The variable that you want to store the result | keys |
Example
Example
object.keys {
value = $object
} as $keys
// $keys now contains an array of the object's property names

Get Values
object.values {
value = $object
} as $values
| Parameter | Purpose | Example |
|---|---|---|
| $object | The variable that the object you’d like to target is stored | $object |
| as | The variable that you want to store the result | values |
Example
Example
object.values {
value = $object
} as $values
// $values now contains an array of the object's property values

Get Entries
object.entries {
value = $object
} as $entries
| Parameter | Purpose | Example |
|---|---|---|
| $object | The variable that the object you’d like to target is stored | $object |
| as | The variable that you want to store the result | entries |
Example
Example
object.entries {
value = $object
} as $entries
// $entries now contains an array of key-value pairs from the object
