zeed
    Preparing search index...

    Function diffObjects

    • Describes the changes between to object with a list like:

      [{
      type: 'upd',
      path: ['a'],
      value: 1
      },
      {
      type: 'del',
      path: ['b', 'c']
      }
      ...]

      Parameters

      • obj: any[] | Record<string, any>
      • newObj: any[] | Record<string, any>
      • options: Partial<DiffOptions> = ...
      • _stack: Record<string, any>[] = []

      Returns Difference[]