(cuePath)
| 16793 | return this._hasCue(cue) |
| 16794 | } |
| 16795 | has(cuePath) { |
| 16796 | const edgeSymbol = this.edgeSymbol |
| 16797 | if (!cuePath.includes(edgeSymbol)) return this.hasCue(cuePath) |
| 16798 | const parts = cuePath.split(edgeSymbol) |
| 16799 | const next = this.getParticle(parts.shift()) |
| 16800 | if (!next) return false |
| 16801 | return next.has(parts.join(edgeSymbol)) |
| 16802 | } |
| 16803 | hasParticle(particle) { |
| 16804 | const needle = particle.toString() |
| 16805 | return this.getSubparticles().some(particle => particle.toString() === needle) |
no test coverage detected