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

Method hasAtom

external/.scrollLibs.js:15842–15844  ·  view source on GitHub ↗
(index, atom)

Source from the content-addressed store, hash-verified

15840 return columns.every((searchTerm, index) => searchTerm === atoms[index])
15841 }
15842 hasAtom(index, atom) {
15843 return this.getAtom(index) === atom
15844 }
15845 getParticleByColumns(...columns) {
15846 return this.topDownArray.find(particle => particle._hasColumns(columns))
15847 }

Callers 1

macroExpandMethod · 0.80

Calls 1

getAtomMethod · 0.95

Tested by

no test coverage detected