@mikuroxina/mini-fn
    Preparing search index...

    Function newLens

    • Creates a new Lens optic from the two functions.

      Type Parameters

      • S
      • A

      Parameters

      • get: (s: S) => A

        The extraction process.

      Returns <B, T>(set: (s: S) => (b: B) => T) => Optic<S, T, A, B>

      The computation to focus the data.