KEYS

Return the array of strings which will can be referenced using GET() on the parameter. Defaults to THIS if no argument provided.

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