• Modifies data contained by Monad as a terminal.

    Type Parameters

    • M

    Parameters

    Returns (<S, T>(mapper) => Setter<Get1<M, S>, Get1<M, T>>)

    The mapping optic.

      • <S, T>(mapper): Setter<Get1<M, S>, Get1<M, T>>
      • Type Parameters

        • S

        • T

        Parameters

        • mapper: ((s) => T)
            • (s): T
            • Parameters

              • s: S

              Returns T

        Returns Setter<Get1<M, S>, Get1<M, T>>

Generated using TypeDoc