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

Method findByClass

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

Source from the content-addressed store, hash-verified

935 return this.find((o) => o.element === s)
936 }
937 findByClass(s) {
938 return this.find((o) => o.classes.includes(s))
939 }
940 getById(s) {
941 return this.find((o) => o.id.toValue() === s).first
942 }

Callers

nothing calls this directly

Calls 2

findMethod · 0.95
includesMethod · 0.45

Tested by

no test coverage detected