Rebol Programming/head

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

USAGE:[edit | edit source]

HEAD series 

DESCRIPTION:[edit | edit source]

Returns the series at its head.

HEAD is an action value.

ARGUMENTS[edit | edit source]

  • series -- (Type: series port)

SOURCE CODE[edit | edit source]

head: native[
    "Returns the series at its head." 
    series [series! port!]
]