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

Method toValue

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

Source from the content-addressed store, hash-verified

5066 )
5067 }
5068 toValue() {
5069 return this.content instanceof Element
5070 ? this.content.toValue()
5071 : this.content instanceof u
5072 ? {
5073 key: this.content.key.toValue(),
5074 value: this.content.value ? this.content.value.toValue() : void 0,
5075 }
5076 : this.content && this.content.map
5077 ? this.content.map((s) => s.toValue(), this)
5078 : this.content
5079 }
5080 toRef(s) {
5081 if ('' === this.id.toValue())
5082 throw Error('Cannot create reference to an element that does not contain an ID')

Callers 15

equalsMethod · 0.95
getValueMethod · 0.45
getByIdMethod · 0.45
toRefMethod · 0.45
keysMethod · 0.45
valuesMethod · 0.45
toValueMethod · 0.45
getMemberMethod · 0.45
removeMethod · 0.45
keysMethod · 0.45
valuesMethod · 0.45
itemsMethod · 0.45

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected