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

Method _getAtomTypeId

external/.scrollLibs.js:19316–19319  ·  view source on GitHub ↗
(atomIndex, requiredAtomTypeIds, totalAtomCount)

Source from the content-addressed store, hash-verified

19314 return atomIndex < totalAtomCount - numberOfRequiredAtoms
19315 }
19316 _getAtomTypeId(atomIndex, requiredAtomTypeIds, totalAtomCount) {
19317 const catchAllAtomCount = Math.max(totalAtomCount - requiredAtomTypeIds.length, 0)
19318 return requiredAtomTypeIds[atomIndex - catchAllAtomCount]
19319 }
19320}
19321class OmnifixAtomParser extends AbstractAtomParser {
19322 getAtomArray(particle = undefined) {

Callers

nothing calls this directly

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected