Rebol 编程/words-of
外观
< Rebol 编程
WORDS-OF value
返回函数或对象的单词副本。
WORDS-OF 是一个函数值。
- value -- (类型:任何)
words-of: func [
{Returns a copy of the words of a function or object.}
value
][
case [
object? :value [bind remove first :value :value]
any-function? :value [first :value]
'else [cause-error 'script 'cannot-use reduce ['reflect type? :value]]
]
]