Keys
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Keys
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Returns a list containing the keys in the given object. Equivalent to JavaScript Object.keys
.
Function signature
KEYS(object: Object) => Array
Parameter | Description |
---|---|
Object | Object to eject keys |
Examples
Formula | Return value |
---|---|
KEYS({ id: 123, name: "John" }) |
["id","name"] |
KEYS({}) |
[] |
Was this article helpful?