get function:

  • Can also be called as []

Get an item from an array by index or from a map by key.

Examples:

  • running: (get ["a", "b", "c"], 1) will give: "b"

  • running: (get {"key-1": 12, "key-2": 32}, "key-1") will give: 12

  • running: (get ["a", "b", "c"], 100) will return nothing