NewDash

    Function default

    • Creates an array excluding all given values using SameValueZero for equality comparisons.

      Note: Unlike pull, this method returns a new array.

      Parameters

      • array: any

        The array to inspect.

      • Optional...values: any[]

        The values to exclude.

      Returns any[]

      Returns the new array of filtered values.

      0.1.0

      difference, union, unionBy, unionWith, xor, xorBy, xorWith

      without([2, 1, 2, 3], 1, 2)
      // => [3]
    MMNEPVFCICPMFPCPTTAAATR