(fields)
| 16222 | return "" |
| 16223 | } |
| 16224 | pick(fields) { |
| 16225 | const newParticle = new Particle(this.toString()) // todo: why not clone? |
| 16226 | const map = Utils.arrayToMap(fields) |
| 16227 | newParticle.particleAt(0).forEach(particle => { |
| 16228 | if (!map[particle.getAtom(0)]) particle.destroy() |
| 16229 | }) |
| 16230 | return newParticle |
| 16231 | } |
| 16232 | getParticlesByGlobPath(query) { |
| 16233 | return this._getParticlesByGlobPath(query) |
| 16234 | } |
no test coverage detected