Rebol 编程/spec-of
外观
< Rebol 编程
SPEC-OF value
返回函数规范的副本。
SPEC-OF 是一个函数值。
- 值 -- (类型:任何)
spec-of: func [ "Returns a copy of the spec of a function." value ][ case [ object? :value [none] any-function? :value [copy/deep third :value] 'else [cause-error 'script 'cannot-use reduce ['reflect type? :value]] ] ]