Rebol Programming/type?

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

USAGE:[edit | edit source]

TYPE? value /word 

DESCRIPTION:[edit | edit source]

Returns a value's datatype.

TYPE? is a native value.

ARGUMENTS[edit | edit source]

  • value -- (Type: any-type)

REFINEMENTS[edit | edit source]

  • /word -- Returns the datatype as a word.

SOURCE CODE[edit | edit source]

type?: native[
    "Returns a value's datatype." 
    value [any-type!] 
    /word "Returns the datatype as a word."