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

Function coerceElementMatchingCallback

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

Source from the content-addressed store, hash-verified

29380 92340: (s, o, i) => {
29381 const a = i(6048)
29382 function coerceElementMatchingCallback(s) {
29383 return 'string' == typeof s
29384 ? (o) => o.element === s
29385 : s.constructor && s.extend
29386 ? (o) => o instanceof s
29387 : s
29388 }
29389 class ArraySlice {
29390 constructor(s) {
29391 this.elements = s || []

Callers 3

filterMethod · 0.85
rejectMethod · 0.85
findMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected