On this page

class webpack.SortableSet extends Set
new SortableSet(values?): void
new SortableSet(iterable?): SortableSet
Attributes
iterable:<Iterable>
< <T> , <any> , <any> > | <null>
< <T> >
getFromCache(fn): R
Attributes
Returns:
{R}

Get data from cache


getFromUnorderedCache(fn): R
Attributes
Returns:
{R}

Get data from cache (ignoring sorting)


sort(): SortableSet
< <T> >

sortWith(sortFn?): void
Attributes
< <T> >
Returns:<void>

Sort with a comparer function


toJSON(): T[]
Returns:
{T[]}

Returns the raw array.