Jump to content

Rebol Programming/any-object?

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
ANY-OBJECT? value 

DESCRIPTION:

[edit | edit source]

Return TRUE if value is any type of object.

ANY-OBJECT? is a function value.

ARGUMENTS

[edit | edit source]
  • value -- (Type: any-type)

SOURCE CODE

[edit | edit source]
any-object?: func [
    "Return TRUE if value is any type of object." 
    value [any-type!]
][
    found? find any-object! type? get/any 'value
]