Jump to content

Rebol Programming/any

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
ANY block 

DESCRIPTION:

[edit | edit source]

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

ANY is a native value.

ARGUMENTS

[edit | edit source]
  • block -- Block of expressions (Type: block)

SOURCE CODE

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