Lookup
- 18 May 2022
- 1 Minute to read
- DarkLight
- PDF
Lookup
- Updated on 18 May 2022
- 1 Minute to read
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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?