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