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