@alanscodelog/utils
    Preparing search index...

    Function removeIfIn

    • Removes the passed items if they exist in the array, otherwise does nothing.

      Mutates the given array.

      const arr1 = ["a", "b", "c"]
      const arr2 = ["a", "b"]
      const res = removeIfIn(arr1, ...arr2)

      Type Parameters

      • T extends any[]

      Parameters

      • mutated: T
      • ...entries: any[]

      Returns T