Function difference

  • Creates an array of array values not included in the other given arrays. The order and references of result values are determined by the first array.

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 7,481 bytes
    • Micro-dash: 352 bytes

    Type Parameters

    • T

    Parameters

    • array: readonly T[]
    • Rest ...values: readonly T[][]

    Returns T[]