augment-vir - v31.13.0
    Preparing search index...

    Function diffBasic

    • Simple diff check that is useful simply to return the same format as the other diff functions.

      Type Parameters

      • T0
      • T1

      Parameters

      • value0: T0
      • value1: T1
      • areEqual: AreEqualCallback<T0, T1> = ...

        A custom equality checker. Defaults to a strict equality check (===).

      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.