Function diffArray

  • Returns an object with 2 parameters. additional which is elements in compare that are not in original, and missing which are elements in original that are not in compare

    Type Parameters

    • T

    Parameters

    • original: T[]

      The base array to compare against

    • compare: T[]

      The array to compare to

    Returns {
        additional: T[];
        common: T[];
        missing: T[];
    }

    • additional: T[]
    • common: T[]
    • missing: T[]

Generated using TypeDoc