< Rebol Programming
USAGE:
CLOSURE? value
DESCRIPTION:
Returns TRUE if it is this type.
CLOSURE? is a function value.
ARGUMENTS
- value -- (Type: any-type)
SOURCE CODE
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!
]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.