Rebol Programming/typeset?

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

USAGE:[edit | edit source]

TYPESET? value 

DESCRIPTION:[edit | edit source]

Returns TRUE if it is this type.

TYPESET? is a function value.

ARGUMENTS[edit | edit source]

  • value -- (Type: any-type)

SOURCE CODE[edit | edit source]

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