ArraySorted<T> extension

on

Properties

sortedUniq List
sortedUniq Creates a duplicate-free version of an array, using
no setter

Methods

sortedIndex(dynamic value) int
sortedIndexis like indexOf but except that it performs a binary search on a sorted array. @param value the value to find the index of
sortedIndexOf(dynamic value, [int? fromIndex]) int
sortedIndexBy is like sortedIndex except that it accepts a iteratee for value @param value the value to find the index of @param fromIndex the index of the first element to be searched
sortedUniqBy(Function iteratee) List
sortedUniqBy Creates a duplicate-free version of an array, using except that it's designed and optimized for sorted arrays.