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

Function Set

frontend/public/swagger-ui-bundle.js:3932–3944  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

3930 })
3931 }
3932 function Set(s) {
3933 return null == s
3934 ? emptySet()
3935 : isSet(s) && !isOrdered(s)
3936 ? s
3937 : emptySet().withMutations(function (o) {
3938 var i = SetIterable(s)
3939 ;(assertNotInfinite(i.size),
3940 i.forEach(function (s) {
3941 return o.add(s)
3942 }))
3943 })
3944 }
3945 function isSet(s) {
3946 return !(!s || !s[nt])
3947 }

Callers 1

Calls 7

emptySetFunction · 0.85
isSetFunction · 0.85
isOrderedFunction · 0.85
SetIterableFunction · 0.85
assertNotInfiniteFunction · 0.85
addMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected