Rebol 编程/body-of
外观
< Rebol 编程
BODY-OF value
返回函数或对象主体的副本。
BODY-OF 是一个函数值。
- 值 -- (类型: 任何)
body-of: func [ {Returns a copy of the body of a function or object.} value ][ case [ object? :value [third :value] function? :value [copy/deep second :value] any-function? :value [none] 'else [cause-error 'script 'cannot-use reduce ['reflect type? :value]] ] ]