REBOL Programming/any-object?

< REBOL Programming

Contents

USAGE:Edit

ANY-OBJECT? value 

DESCRIPTION:Edit

Return TRUE if value is any type of object.

ANY-OBJECT? is a function value.

ARGUMENTSEdit

  • value -- (Type: any-type)

SOURCE CODEEdit

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