Rebol Programming/values-of
Appearance
USAGE:
[edit | edit source]VALUES-OF value
DESCRIPTION:
[edit | edit source]Returns a copy of the values of an object.
VALUES-OF is a function value.
ARGUMENTS
[edit | edit source]- value -- (Type: any)
SOURCE CODE
[edit | edit source]values-of: func [ "Returns a copy of the values of an object." value ][ case [ object? :value [remove second :value] any-function? :value [none] 'else [cause-error 'script 'cannot-use reduce ['reflect type? :value]] ] ]