Rebol Programming/found?

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

FOUND? value 

DESCRIPTION:[edit | edit source]

Returns TRUE if value is not NONE.

FOUND? is a function value.

ARGUMENTS[edit | edit source]

  • value -- (Type: any)

SOURCE CODE[edit | edit source]

found?: func [
    "Returns TRUE if value is not NONE." 
    value
][
    not none? :value
]