set
set<
S,A>(lens): (a) => (s) =>S
Defined in: Core/Lens.ts:79
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
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”(
s):S
Parameters
Section titled “Parameters”S
Returns
Section titled “Returns”S