REBOL Programming/found?

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

USAGE:[edit]

FOUND? value 

DESCRIPTION:[edit]

Returns TRUE if value is not NONE.

FOUND? is a function value.

ARGUMENTS[edit]

  • value -- (Type: any)

SOURCE CODE[edit]

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