class webpack.SortableSet extends Set<T>new SortableSet(values?): SortableSet<T>Attributes
values:
readonly T[] | nullReturns:
SortableSet<T>new SortableSet(iterable?): SortableSet<T>Attributes
Returns:
SortableSet<T>getFromCache(fn): RAttributes
fn:
(set: SortableSet<T>) => RReturns:
RGet data from cache
getFromUnorderedCache(fn): RAttributes
fn:
(set: SortableSet<T>) => RReturns:
RGet data from cache (ignoring sorting)
M
sort
sort(): SortableSet<T>Returns:
SortableSet<T>sortWith(sortFn?): voidAttributes
sortFn:
SortFunction<T>Returns:
voidSort with a comparer function
toJSON(): T[]Returns:
T[]Returns the raw array.
Attributes