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

Function sortIP

node/Q.js:546–555  ·  view source on GitHub ↗

* 将对象数组按IP排序 * @param {Array. } list 对象数组 eg: [{k:'192.168.2.10'},{k:'192.168.3.1'}] * @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

ip2intFunction · 0.70

Tested by

no test coverage detected