MCPcopy Create free account
hub / github.com/devin87/Q.js / sortNumber

Function sortNumber

node/Q.js:504–507  ·  view source on GitHub ↗

* 将对象数组按数字排序 * @param {Array. } list 对象数组 eg: [{k:10},{k:20}] * @param {string} prop 用于排序的属性 * @param {boolean} desc 是否倒序,默认为false

(list, prop, desc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sortListFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected