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

Method optionCount

external/.scrollLibs.js:19231–19235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19229 return options
19230 }
19231 get optionCount() {
19232 const enumOptions = this._getEnumOptions()
19233 if (enumOptions) return enumOptions.length
19234 return Infinity
19235 }
19236 _getEnumFromAtomTypeOptions(program) {
19237 const particle = this._getParticleFromExtended(ParsersConstants.enumFromAtomTypes)
19238 return particle ? Object.keys(particle.getParticle(ParsersConstants.enumFromAtomTypes)._getEnumFromAtomTypes(program)) : undefined

Callers

nothing calls this directly

Calls 1

_getEnumOptionsMethod · 0.95

Tested by

no test coverage detected