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

Method ArrayElement

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

Source from the content-addressed store, hash-verified

47257 constructor(s) {
47258 ;(super(s), (this.element = new km()))
47259 }
47260 ArrayElement(s) {
47261 return (
47262 s.forEach((s) => {
47263 const o = im(s) ? ['document', 'objects', 'Server'] : ['value'],
47264 i = this.toRefractedElement(o, s)
47265 this.element.push(i)
47266 }),
47267 this.copyMetaAndAttributes(s, this.element),
47268 qu
47269 )
47270 }
47271 }
47272 const Om = ServersVisitor

Callers

nothing calls this directly

Calls 5

imFunction · 0.50
forEachMethod · 0.45
toRefractedElementMethod · 0.45
pushMethod · 0.45
copyMetaAndAttributesMethod · 0.45

Tested by

no test coverage detected