Function: applySet()
function applySet<O, K, V>(
node,
fieldName,
value
): void;
Sets an object field wrapped in an action.
Type Parameters
| Type Parameter |
|---|
O extends object |
K extends string | number | symbol |
V |
Parameters
| Parameter | Type | Description |
|---|---|---|
node | O | Target object. |
fieldName | K | Field name. |
value | V | Value to set. |
Returns
void