without method ✓ 100.0%
Last updated: 2026-03-01T23:35:47.796Z
Metrics
LOC: 5
Complexity: 1
Params: 1
Coverage: 100.0% (2/2 lines, 3x executed)
Signature
without(...names: string[]): : FieldCollectionPipeline
Summary
Returns a new pipeline excluding detectors with any of the given names.
Source Code
without(...names: string[]): FieldCollectionPipeline {
return new FieldCollectionPipeline(
this.detectors.filter((d) => !names.includes(d.name)),
);
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| DetectionPipeline | instantiates |
| FieldCollectionPipeline | instantiates |
No incoming dependencies.