My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
unique  
Overview of unique
Updated May 4, 2010 by matr...@mac.com

unique

Action that extracts unique items from an array.

Usage

objx( object ).unique( [behaviour] );

object The object to filter (usually arrays, but works with any iterable type)
behaviour See actions

Example

objx([1,1,2,2,3,3,3,3,4,4,5,5,5,5,5,5,5]).unique();
// returns [1,2,3,4,5]

Sign in to add a comment
Powered by Google Project Hosting