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

    Function diffValues

    • Diff any values. For diffing objects, use diffObjects to get better types.

      Type Parameters

      • T0
      • T1

      Parameters

      • value0: T0
      • value1: 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.