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

Function OrderedMap

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

Source from the content-addressed store, hash-verified

3044 return s < x ? 0 : ((s - 1) >>> w) << w
3045 }
3046 function OrderedMap(s) {
3047 return null == s
3048 ? emptyOrderedMap()
3049 : isOrderedMap(s)
3050 ? s
3051 : emptyOrderedMap().withMutations(function (o) {
3052 var i = KeyedIterable(s)
3053 ;(assertNotInfinite(i.size),
3054 i.forEach(function (s, i) {
3055 return o.set(i, s)
3056 }))
3057 })
3058 }
3059 function isOrderedMap(s) {
3060 return isMap(s) && isOrdered(s)
3061 }

Callers 2

groupByFactoryFunction · 0.85

Calls 6

emptyOrderedMapFunction · 0.85
isOrderedMapFunction · 0.85
KeyedIterableFunction · 0.85
assertNotInfiniteFunction · 0.85
forEachMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected