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

Method toValue

frontend/public/swagger-ui-bundle.js:23707–23712  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23705 return 'object'
23706 }
23707 toValue() {
23708 return this.content.reduce(
23709 (s, o) => ((s[o.key.toValue()] = o.value ? o.value.toValue() : void 0), s),
23710 {}
23711 )
23712 }
23713 get(s) {
23714 const o = this.getMember(s)
23715 if (o) return o.value

Callers

nothing calls this directly

Calls 2

reduceMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected