MCPcopy Index your code
hub / github.com/dataease/SQLBot / addToSet

Function addToSet

frontend/public/swagger-ui-bundle.js:67760–67773  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

67758 return KC(s, o, a)
67759 }
67760 }
67761 function addToSet(s, o) {
67762 let i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : fj
67763 qC && qC(s, null)
67764 let a = o.length
67765 for (; a--; ) {
67766 let u = o[a]
67767 if ('string' == typeof u) {
67768 const s = i(u)
67769 s !== u && (UC(o) || (o[a] = s), (u = s))
67770 }
67771 s[u] = !0
67772 }
67773 return s
67774 }
67775 function purify_es_cleanArray(s) {
67776 for (let o = 0; o < s.length; o++) {

Callers 2

$tFunction · 0.85

Calls 3

qCFunction · 0.85
iFunction · 0.70
UCFunction · 0.50

Tested by

no test coverage detected