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

Method _deleteParticle

external/.scrollLibs.js:17200–17203  ·  view source on GitHub ↗
(particle)

Source from the content-addressed store, hash-verified

17198 return this
17199 }
17200 _deleteParticle(particle) {
17201 const index = this._indexOfParticle(particle)
17202 return index > -1 ? this._deleteByIndexes([index]) : 0
17203 }
17204 reverse() {
17205 this._clearCueIndex()
17206 this._getSubparticlesArray().reverse()

Callers 1

destroyMethod · 0.80

Calls 2

_indexOfParticleMethod · 0.95
_deleteByIndexesMethod · 0.95

Tested by

no test coverage detected