MCPcopy Create free account
hub / github.com/boy-hack/WebshellManager / uniqueArray

Function uniqueArray

content/views/assets/js/amazeui.js:1055–1080  ·  view source on GitHub ↗

* unique array with objects based on a key (like 'id') or just by the array's value * @param {Array} src [{id:1},{id:2},{id:1}] * @param {String} [key] * @param {Boolean} [sort=False] * @returns {Array} [{id:1},{id:2}]

(src, key, sort)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

normalizeSingleTouchesFunction · 0.85
getTouchesFunction · 0.85

Calls 1

inArrayFunction · 0.85

Tested by

no test coverage detected