< Rebol Programming
USAGE:
SPEC-OF value
DESCRIPTION:
Returns a copy of the spec of a function.
SPEC-OF is a function value.
ARGUMENTS
- value -- (Type: any)
SOURCE CODE
spec-of: func [ "Returns a copy of the spec of a function." value ][ case [ object? :value [none] any-function? :value [copy/deep third :value] 'else [cause-error 'script 'cannot-use reduce ['reflect type? :value]] ] ]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.