augment-vir - v31.13.0
    Preparing search index...

    Function filterOutIndexes

    • Removes all given indexes from the given array.

      Type Parameters

      • T

      Parameters

      • array: readonly T[]
      • indexes: readonly number[]

      Returns T[]

      A new array (does not mutate).

      import {filterOutIndexes} from '@augment-vir/common';

      const result = filterOutIndexes(
      [
      'a',
      'b',
      '',
      ],
      [
      0,
      2,
      ],
      );
      // result is `['b']`