Rebol 编程/title-of
外观
< Rebol 编程
TITLE-OF value
返回函数标题的副本。
TITLE-OF 是一个函数值。
- value -- (类型:任何)
title-of: func [ "Returns a copy of the title of a function." value ][ case [ object? :value [cause-error 'script 'invalid-arg 'title] any-function? :value [if string? value: pick third :value 1 [copy value]] 'else [cause-error 'script 'cannot-use reduce ['reflect type? :value]] ] ]