Keys
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Keys

  • Dark
    Light
  • 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?

What's Next