Last modified on 13 November 2012, at 10:50

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
]