411 REFERENCE · Wikibooks
Rebol Programming/scalar?
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
SCALAR? value
DESCRIPTION:
Return TRUE if value is any type of scalar.
SCALAR? is a function value.
ARGUMENTS
value -- (Type: any-type)
SOURCE CODE
scalar?: func [
"Return TRUE if value is any type of scalar."
value [any-type!]
][
found? find scalar! type? get/any 'value
]