• Deeply difference an object against some other, returning the update keys and values.

    Parameters

    • original: object

      An object comparing data against which to compare

    • other: object

      An object containing potentially different data

    • Optionaloptions: { _d?: number; deletionKeys?: boolean; inner?: boolean } = {}

      Additional options which configure the diff operation

      • Optional_d?: number

        An internal depth tracker

      • OptionaldeletionKeys?: boolean

        Apply special logic to deletion keys. They will only be kept if the original object has a corresponding key that could be deleted.

      • Optionalinner?: boolean

        Only recognize differences in other for keys which also exist in original

    Returns object

    An object of the data in other which differs from that in original