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

Method ArrayElement

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

Source from the content-addressed store, hash-verified

46141 : ['document', 'objects', 'JSONSchema']
46142 return ((this.element = this.toRefractedElement(o, s)), qu)
46143 }
46144 ArrayElement(s) {
46145 return (
46146 (this.element = new Su.wE()),
46147 this.element.classes.push('json-schema-items'),
46148 s.forEach((s) => {
46149 const o = isJSONReferenceLikeElement(s)
46150 ? ['document', 'objects', 'JSONReference']
46151 : ['document', 'objects', 'JSONSchema'],
46152 i = this.toRefractedElement(o, s)
46153 this.element.push(i)
46154 }),
46155 this.copyMetaAndAttributes(s, this.element),
46156 qu
46157 )
46158 }
46159 }
46160 const Ud = ItemsVisitor

Callers

nothing calls this directly

Calls 5

pushMethod · 0.45
forEachMethod · 0.45
toRefractedElementMethod · 0.45
copyMetaAndAttributesMethod · 0.45

Tested by

no test coverage detected