Rebol 编程/closure?
外观
< Rebol 编程
CLOSURE? value
如果它是这种类型,则返回 TRUE。
CLOSURE? 是一个函数值。
- value -- (类型:任何类型)
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! ] ]