These docs are for v1.0. Click to read the latest docs for v1.2.

GET

Gets the associated value from an object for the specified key.

Syntax

=GET(obj, key)

Arguments

ArgumentTypeDescription
objObjectThe object to use.
keyStringThe key to use within the object, will be converted to a string type if the value given is a non-string

Examples

In these examples, the shape data property "Object" is an object with the following key-value pairs:

{ "A": 1, "B": 2, "C": 3, "D": 4, "E": 5, }

=GET(@Object, "A")1
Get the value associated with the key "A" from the object stored in the shape data property named "Object".

=GET(@Object, "D")4
Get the value associated with the key "D" from the object stored in the shape data property named "Object"