Rebol Programming/first

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

FIRST series 

DESCRIPTION:[edit | edit source]

Returns the first value of a series.

FIRST is an action value.

ARGUMENTS[edit | edit source]

  • series -- (Type: series pair event money date object port time tuple any-function library struct event)

SOURCE CODE[edit | edit source]

first: native[
  "Returns the first value of a series." 
  series [series! pair! event! money! date! object! port! time! tuple! any-function! library! struct! event!
  ]
]