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

Method map

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

Source from the content-addressed store, hash-verified

5291 u = i(92340)
5292 class ObjectSlice extends u {
5293 map(s, o) {
5294 return this.elements.map((i) => s.bind(o)(i.value, i.key, i))
5295 }
5296 filter(s, o) {
5297 return new ObjectSlice(this.elements.filter((i) => s.bind(o)(i.value, i.key, i)))
5298 }

Callers 2

keysMethod · 0.95
valuesMethod · 0.95

Calls 2

mapMethod · 0.45
bindMethod · 0.45

Tested by

no test coverage detected