Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Rebol Programming/spec-of

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

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]] ] ]