class webpack.SortableSet extends Set<T>new SortableSet(values?): voidvalues<readonly T[]>|<null>- Returns: {SortableSet
}
new SortableSet(iterable?): SortableSet<T>Attributes
iterable:
<Iterable>Returns:
{SortableSet
}
getFromCache(fn): voidfn{(set: SortableSet) => R} - Returns: {R}
Get data from cache
getFromUnorderedCache(fn): voidfn{(set: SortableSet) => R} - Returns: {R}
Get data from cache (ignoring sorting)
M
sort
sort(): SortableSet<T>Returns:
{SortableSet
}
sortWith(sortFn?): voidsortFn{SortFunction} - Returns:
<void>
Sort with a comparer function
toJSON(): T[]Returns:
{T[]}
Returns the raw array.
a{T}b{T}- Returns:
<number>