Access Array value by dynamic key?

Is it possible to access an array value by a dynamic key?

For instance, if I have an array myArray with [value1, value2, value3] and I want to access value2 I can do that by myArray.items[1] but I can’t figure out how to get a value with a dynamic key.


Community Page
Last updated: