KEYS

Syntax

=KEYS(obj)

Arguments

ArgumentTypeDescription
objAnyThe object or reference to test

Example

=KEYS(OBJECT("A", 1, "B", 2))["A", "B"]
Returns the keys of the given object