REBOL Programming/typeset?

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

USAGE:[edit]

TYPESET? value 

DESCRIPTION:[edit]

Returns TRUE if it is this type.

TYPESET? is a function value.

ARGUMENTS[edit]

  • value -- (Type: any-type)

SOURCE CODE[edit]

typeset?: func ["Returns TRUE if it is this type." value [any-type!]][
    found? all [block? get/any 'value parse value [any datatype!]]
]