Takaro - v0.4.11
    Preparing search index...

    Function pullAll

    • This method is like _.pull except that it accepts an array of values to remove.

      Note: Unlike _.difference, this method mutates array.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array to modify.

      • Optionalvalues: List<T>

        The values to remove.

      Returns T[]

      Returns array.

      var array = [1, 2, 3, 1, 2, 3];

      _.pull(array, [2, 3]);
      console.log(array);
      // => [1, 1]
    • Type Parameters

      • TList extends MutableList<any>

      Parameters

      • array: RejectReadonly<TList>
      • Optionalvalues: List<TList[0]>

      Returns TList

      _.pullAll