REBOL Programming/scalar?

< REBOL Programming

USAGE:

SCALAR? value 

DESCRIPTION:

Return TRUE if value is any type of scalar.

SCALAR? is a function value.

ARGUMENTS

SOURCE CODE

scalar?: func [
    "Return TRUE if value is any type of scalar." 
    value [any-type!]
][
    found? find scalar! type? get/any 'value
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.