Rebol Programming/closure?
Jump to navigation
Jump to search
USAGE:[edit | edit source]
CLOSURE? value
DESCRIPTION:[edit | edit source]
Returns TRUE if it is this type.
CLOSURE? is a function value.
ARGUMENTS[edit | edit source]
- value -- (Type: any-type)
SOURCE CODE[edit | edit source]
closure?: func ["Returns TRUE if it is this type." value [any-type!]][ all [ function? get/any 'value value: second :value same? pick value 1 :do same? pick value 2 :make same? pick value 3 :function! ] ]