Rebol Programming/scalar?

USAGE: edit

SCALAR? value 

DESCRIPTION: edit

Return TRUE if value is any type of scalar.

SCALAR? is a function value.

ARGUMENTS edit

  • value -- (Type: any-type)

SOURCE CODE edit

scalar?: func [
    "Return TRUE if value is any type of scalar." 
    value [any-type!]
][
    found? find scalar! type? get/any 'value
]