LCOV - code coverage report
Current view: top level - dashql-app/src/utils - array.ts Coverage Total Hit
Test: DashQL 6e74948 Lines: 100.0 % 6 6
Test Date: 2026-11-06 17:46:50

            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