Function diffArrays

  • Extract all entries in the given arrays that are not equal.

    Type Parameters

    • T0
    • T1

    Parameters

    • array0: readonly T0[]
    • array1: readonly T1[]

    Returns [T0[], T1[]] | []

    An empty tuple if the values are equal. Otherwise, the first tuple entry contains the changes in the first value, second entry contains the changes in the second value.