nl_tokens: Creates a duplicate - value - free version of an array using strict equality for comparisons i . e . === . If the array is sorted providing true for isSorted will use a faster algorithm . If a callback is provided each element of array is passed through the callback before uniqueness is computed . The callback is bound to thisArg and invoked with three arguments ; ( value index array ) .
pl_tokens: function uniq ( array , isSorted , callback , thisArg ) { // juggle arguments if ( typeof isSorted != 'boolean' && isSorted != null ) { thisArg = <mask> ; callback = ! ( thisArg && thisArg [ isSorted ] === array ) ? isSorted : null ; isSorted = false ; } if ( callback != null ) { callback = lodash . createCallback ( callback , thisArg , 3 ) ; } return baseUniq ( array , isSorted , callback ) ; }