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

Method remove

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

Source from the content-addressed store, hash-verified

23718 if (void 0 !== s) return this.content.find((o) => o.key.toValue() === s)
23719 }
23720 remove(s) {
23721 let o = null
23722 return (
23723 (this.content = this.content.filter((i) => i.key.toValue() !== s || ((o = i), !1))),
23724 o
23725 )
23726 }
23727 getKey(s) {
23728 const o = this.getMember(s)
23729 if (o) return o.key

Callers

nothing calls this directly

Calls 2

filterMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected