MCPcopy Create free account
hub / github.com/breck7/scroll / constantValueAsJsText

Method constantValueAsJsText

external/.scrollLibs.js:19387–19390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19385 return this.getAtom(1)
19386 }
19387 get constantValueAsJsText() {
19388 const atoms = this.getAtomsFrom(2)
19389 return atoms.length > 1 ? `[${atoms.join(",")}]` : atoms[0]
19390 }
19391 get constantValue() {
19392 return JSON.parse(this.constantValueAsJsText)
19393 }

Callers

nothing calls this directly

Calls 2

getAtomsFromMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected