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

Function OrderedSet

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

Source from the content-addressed store, hash-verified

4082 return rt || (rt = makeSet(emptyMap()))
4083 }
4084 function OrderedSet(s) {
4085 return null == s
4086 ? emptyOrderedSet()
4087 : isOrderedSet(s)
4088 ? s
4089 : emptyOrderedSet().withMutations(function (o) {
4090 var i = SetIterable(s)
4091 ;(assertNotInfinite(i.size),
4092 i.forEach(function (s) {
4093 return o.add(s)
4094 }))
4095 })
4096 }
4097 function isOrderedSet(s) {
4098 return isSet(s) && isOrdered(s)
4099 }

Callers 1

Calls 6

emptyOrderedSetFunction · 0.85
isOrderedSetFunction · 0.85
SetIterableFunction · 0.85
assertNotInfiniteFunction · 0.85
addMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected