Single?

angerangel edited this page Jan 7, 2013 · 1 revision
Clone this wiki locally

USAGE

   SINGLE? series

DESCRIPTION

Returns TRUE if the series length is 1.

SINGLE? is a function value.

ARGUMENTS

  • series (series! port! map! tuple! bitset! object! gob! any-word!)

#SOURCE

single?: make function! [  [
    "Returns TRUE if the series length is 1."
    series [series! port! map! tuple! bitset! object! gob! any-word!]
][
    1 = length? series
] ]