| LCOV - code coverage report | ||||||||||||||||||
|
||||||||||||||||||
Line data Source code 1 : /// Helper to remove a single element from an array 2 1 : export function removePrimitiveFromArray<T>(arr: Array<T>, value: T): Array<T> { 3 1 : const index = arr.indexOf(value); 4 1 : if (index !== -1) { 5 1 : arr.splice(index, 1); 6 : } 7 1 : return arr; 8 1 : } |
| Generated by: LCOV version 2.0-1 |