Rebol Programming/words-of
USAGE: edit
WORDS-OF value
DESCRIPTION: edit
Returns a copy of the words of a function or object.
WORDS-OF is a function value.
ARGUMENTS edit
- value -- (Type: any)
SOURCE CODE edit
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]] ] ]