• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ckapps / rxjs / 4584475877

pending completion
4584475877

Pull #210

github

GitHub
Merge cf60a32e9 into 0ed13ae4b
Pull Request #210: chore(deps-dev): bump typescript from 4.9.5 to 5.0.3

17 of 17 branches covered (100.0%)

Branch coverage included in aggregate %.

152 of 152 relevant lines covered (100.0%)

5.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/array/operators/take-if-included.operator.ts
1
import { OperatorFunction } from 'rxjs';
2
import { filter } from 'rxjs/operators';
1✔
3

4
/**
5
 * Emit values that are included in the given `values`.
6
 *
7
 * @param values Values to check
8
 *
9
 */
10
export function takeIfIncluded<T>(values: T[]): OperatorFunction<T, T> {
1✔
11
  return filter(searchElement => values.includes(searchElement));
10✔
12
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc