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

Lookup

  • Dark
    Light
  • PDF

Article Summary

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

Function signature

LOOKUP(object: Object, propertyname: String) => String|Number
ParameterDescription
ObjectObject whose property will be get
Property nameName of the property to take from object

Examples

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

Was this article helpful?

What's Next