set
set<
S,A>(lens): (a) => (s) =>S
Defined in: Core/Lens.ts:70
Replaces the focused value within a structure, returning a new structure.
Type Parameters
Section titled “Type Parameters”S
A
Parameters
Section titled “Parameters”Lens<S, A>
Returns
Section titled “Returns”(a) => (s) => S