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

ckapps / rxjs / 4851186617

01 May 2023 12:38PM CUT coverage: 100.0%. Remained the same
4851186617

push

github

christophka
build(deps): bump coverallsapp/github-action from 1.2.4 to 2.*.*

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/toggle.operator.ts
1
import { OperatorFunction } from 'rxjs';
2

3
import { atIndex } from './at-index.operator';
1✔
4
import { counterIncrease, moduloBy } from '../../math/operators';
1✔
5

6
/**
7
 *
8
 * @param values The values to toggle
9
 */
10
export function toggle<T>(values: T[]): OperatorFunction<unknown, T> {
1✔
11
  return obs$ =>
1✔
12
    obs$.pipe(counterIncrease(1), moduloBy(values.length), atIndex(values));
1✔
13
}
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