KEYS

Return object's keys

Description

Returns an array 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({})

[]