Function applyPatches

  • Applies the given patches to the given target object.

    Parameters

    • node: object

      Target object.

    • patches: readonly Patch[] | readonly (readonly Patch[])[]

      List of patches to apply.

    • reverse: boolean = false

      Whether patches are applied in reverse order.

    Returns void