Function applySet

  • Sets an object field wrapped in an action.

    Type Parameters

    • O extends object
    • K extends string | number | symbol
    • V

    Parameters

    • node: O

      Target object.

    • fieldName: K

      Field name.

    • value: V

      Value to set.

    Returns void