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

Function callAfterLoad

frontend/public/swagger-ui-bundle.js:31549–31562  ·  view source on GitHub ↗
(s, o, { hasLoaded: i } = {})

Source from the content-addressed store, hash-verified

31547 : {}
31548 }
31549 function callAfterLoad(s, o, { hasLoaded: i } = {}) {
31550 let a = i
31551 return (
31552 isObject(s) &&
31553 !isArray(s) &&
31554 'function' == typeof s.afterLoad &&
31555 ((a = !0), wrapWithTryCatch(s.afterLoad, o.getSystem).call(this, o)),
31556 isFunc(s)
31557 ? callAfterLoad.call(this, s(o), o, { hasLoaded: a })
31558 : isArray(s)
31559 ? s.map((s) => callAfterLoad.call(this, s, o, { hasLoaded: a }))
31560 : a
31561 )
31562 }
31563 function systemExtend(s = {}, o = {}) {
31564 if (!isObject(s)) return {}
31565 if (!isObject(o)) return s

Callers

nothing calls this directly

Calls 6

isObjectFunction · 0.85
isArrayFunction · 0.85
wrapWithTryCatchFunction · 0.85
isFuncFunction · 0.85
sFunction · 0.50
mapMethod · 0.45

Tested by

no test coverage detected