gets
gets<
S,A>(f):State<S,A>
Defined in: Core/State.ts:60
Reads a projection of the state without modifying it.
Equivalent to pipe(State.get(), State.map(f)) but more direct.
Type Parameters
Section titled “Type Parameters”S
A
Parameters
Section titled “Parameters”(s) => A
Returns
Section titled “Returns”State<S, A>