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

Method set

frontend/public/swagger-ui-bundle.js:23731–23742  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

23729 if (o) return o.key
23730 }
23731 set(s, o) {
23732 if (u(s))
23733 return (
23734 Object.keys(s).forEach((o) => {
23735 this.set(o, s[o])
23736 }),
23737 this
23738 )
23739 const i = s,
23740 a = this.getMember(i)
23741 return (a ? (a.value = o) : this.content.push(new w(i, o)), this)
23742 }
23743 keys() {
23744 return this.content.map((s) => s.key.toValue())
23745 }

Callers

nothing calls this directly

Calls 5

getMemberMethod · 0.95
uFunction · 0.70
forEachMethod · 0.45
keysMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected