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

Method toRef

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

Source from the content-addressed store, hash-verified

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')
5083 const o = new this.RefElement(this.id.toValue())
5084 return (s && (o.path = s), o)
5085 }
5086 findRecursive(...s) {
5087 if (arguments.length > 1 && !this.isFrozen)
5088 throw new Error(

Callers

nothing calls this directly

Calls 1

toValueMethod · 0.45

Tested by

no test coverage detected