modify
modify<
S>(f):State<S,undefined>
Defined in: Core/State.ts:85
Applies a function to the current state to produce the next state. Produces no meaningful value.
Type Parameters
Section titled “Type Parameters”S
Parameters
Section titled “Parameters”(s) => S
Returns
Section titled “Returns”State<S, undefined>