• Returns all items from the first list that do not exist in the second list.

    Type Parameters

    • T

    Parameters

    • root: readonly T[]
    • other: readonly T[]
    • Optional identity: ((item) => string | number | symbol)
        • (item): string | number | symbol
        • Parameters

          • item: T

          Returns string | number | symbol

    Returns T[]