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

sort_by_keys function:

  • Can also be called as order_by_keys

Sort an object by it's keys. If the first argument is an object, return object sorted by it's keys.

Examples:

  • running: (sort_by_keys {"z": 1, "x": 2, "w": null}) will give: {"w": null, "x": 2, "z": 1}

  • running: (sort_by_keys false) will return nothing