REBOL Programming/any

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

ANY block 

DESCRIPTION:[edit]

Shortcut OR. Evaluates and returns the first value that is not FALSE or NONE.

ANY is a native value.

ARGUMENTS[edit]

  • block -- Block of expressions (Type: block)

SOURCE CODE[edit]

any: native[
    {Shortcut OR. Evaluates and returns the first value that is not FALSE or NONE.} 
    block [block!] "Block of expressions"
]

{{BookCat}}