Rebol Programming/component?

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

USAGE:[edit | edit source]

COMPONENT? name 

DESCRIPTION:[edit | edit source]

Returns specific REBOL component info if enabled.

COMPONENT? is a function value.

ARGUMENTS[edit | edit source]

  • name -- (Type: word)

SOURCE CODE[edit | edit source]

component?: func [
    "Returns specific REBOL component info if enabled." 
    name [word!]
][
    find system/components name
]