Last modified on 13 November 2012, at 10:43

REBOL Programming/unique

USAGE:Edit

UNIQUE set /case /skip size 

DESCRIPTION:Edit

Returns a set with duplicate values removed.

UNIQUE is a native value.

ARGUMENTSEdit

  • set -- (Type: series)

REFINEMENTSEdit

  • /case -- Use case-sensitive comparison
  • /skip -- Treat the series as records of fixed size
    • size -- (Type: integer)

SOURCE CODEEdit

unique: native[
    "Returns a set with duplicate values removed." 
    set [series!] 
    /case "Use case-sensitive comparison" 
    /skip "Treat the series as records of fixed size" 
    size [integer!]
]