MCPcopy Create free account
hub / github.com/cnodejs/egg-cnode / compareAscending

Function compareAscending

app/public/libs/lodash.compat.js:283–309  ·  view source on GitHub ↗

* Used by `sortBy` to compare transformed `collection` elements, stable sorting * them in ascending order. * * @private * @param {Object} a The object to compare to `b`. * @param {Object} b The object to compare to `a`. * @returns {number} Returns the sort order indicator of `1` or

(a, b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected