Rebol Programming/any-object?

USAGE: edit

ANY-OBJECT? value 

DESCRIPTION: edit

Return TRUE if value is any type of object.

ANY-OBJECT? is a function value.

ARGUMENTS edit

  • value -- (Type: any-type)

SOURCE CODE edit

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