MCPcopy
hub / github.com/immutable-js/immutable-js / sortBy

Function sortBy

src/CollectionImpl.js:457–459  ·  view source on GitHub ↗
(mapper, comparator)

Source from the content-addressed store, hash-verified

455 },
456
457 sortBy(mapper, comparator) {
458 return reify(this, sortFactory(this, comparator, mapper));
459 },
460
461 take(amount) {
462 return this.slice(0, Math.max(0, amount));

Callers

nothing calls this directly

Calls 2

reifyFunction · 0.90
sortFactoryFunction · 0.90

Tested by

no test coverage detected