Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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