• Returns a new array with the elements from the source array that are not present in the target array

    Type Parameters

    • T

    Parameters

    • source: readonly T[]

      source array

    • target: readonly T[]

      Target array

    Returns T[]