Skip to main content

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​

ParameterTypeDescription
nodeOTarget object.
fieldNameKField name.
valueVValue to set.

Returns​

void