@pleisto/active-support

    Variable diffConst

    diff: <T>(
        root: readonly T[],
        other: readonly T[],
        identity?: (item: T) => string | number | symbol,
    ) => T[]

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

    Type declaration

      • <T>(
            root: readonly T[],
            other: readonly T[],
            identity?: (item: T) => string | number | symbol,
        ): T[]
      • Type Parameters

        • T

        Parameters

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

        Returns T[]

    MMNEPVFCICPMFPCPTTAAATR