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

Lookup

  • Dark
    Light
  • PDF

Returns the value associated with the given key in the given object.

Function signature

LOOKUP(object: Object, propertyname: String) => String|Number
Parameter Description
Object Object whose property will be get
Property name Name of the property to take from object

Examples

animal = {"name":"dog","weight":123,"active":false,"children":0}
Formula Return value
LOOKUP(animal, "name") dog
LOOKUP(animal, "weight") 123

Was this article helpful?

What's Next