REBOL Programming/type?

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

USAGE:[edit]

TYPE? value /word 

DESCRIPTION:[edit]

Returns a value's datatype.

TYPE? is a native value.

ARGUMENTS[edit]

  • value -- (Type: any-type)

REFINEMENTS[edit]

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

SOURCE CODE[edit]

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