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

Function sortString

Q.js:493–496  ·  view source on GitHub ↗

* 将对象数组按字符串排序 * @param {Array. } list 对象数组 eg: [{k:'a'},{k:'b'}] * @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 1

to_stringFunction · 0.70

Tested by

no test coverage detected