Rebol Programming/scalar?

USAGE:Edit

SCALAR? value 

DESCRIPTION:Edit

Return TRUE if value is any type of scalar.

SCALAR? is a function value.

ARGUMENTSEdit

  • value -- (Type: any-type)

SOURCE CODEEdit

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