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

Method optionCount

external/.scrollLibs.js:18743–18747  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18741 return num.toString() === atom
18742 }
18743 get optionCount() {
18744 const minVal = parseInt(this.min) || -Infinity
18745 const maxVal = parseInt(this.max) || Infinity
18746 return maxVal - minVal + 1
18747 }
18748 _synthesizeAtom(seed) {
18749 return Utils.randomUniformInt(parseInt(this.min), parseInt(this.max), seed).toString()
18750 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected