MCPcopy
hub / github.com/webpack/webpack / uniqueOrderedArray

Function uniqueOrderedArray

lib/stats/DefaultStatsFactoryPlugin.js:393–394  ·  view source on GitHub ↗
(items, selector, comparator)

Source from the content-addressed store, hash-verified

391 * @returns {I[]} array of values
392 */
393const uniqueOrderedArray = (items, selector, comparator) =>
394 uniqueArray(items, selector).sort(comparator);
395
396/**
397 * Defines the shared type used by this module.

Callers 1

Calls 2

uniqueArrayFunction · 0.85
sortMethod · 0.80

Tested by

no test coverage detected