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

Keys

  • Dark
    Light
  • PDF

Article Summary

Returns a list containing the keys in the given object. Equivalent to JavaScript Object.keys.

Function signature

KEYS(object: Object) => Array
ParameterDescription
ObjectObject to eject keys

Examples

FormulaReturn value
KEYS({ id: 123, name: "John" })["id","name"]
KEYS({})[]

Was this article helpful?

What's Next