Any - Geomol/World GitHub Wiki

Usage

any block

Description

Evaluates and returns at the first value that is not false or none.

any is a function!

Arguments

block -- Block of expressions [block!]

Examples

any [false false 1]
any [false true i-have-side-effects]

The function i-have-side-effects is not evaluated during processing of the second any block, due to the true before it. Any will only process items until the first non false.