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

any function:

Check if any of item in a list is true.

Examples:

  • running: (any [1, 5, false, 1.1]) will give: false

  • running: (any (map (range 4) (.= 2))) will give: true Because there is 2 in the list of numbers from 0 to 4.

  • running: (any (map (range 4) (.= 12))) will give: false Because there is no 12 in the list of numbers from 0 to 4.

  • running: (any []) will give: false

  • running: (any [1, 2, true, false, 4]) will give: true

  • running: (any {}) will return nothing