Function foldIn

  • Type Parameters

    • T

    • R

    Parameters

    • f: ((acc, x) => R)
        • (acc, x): R
        • Parameters

          • acc: R
          • x: T

          Returns R

    Returns ((initial) => ((x) => Opt<R>))

      • (initial): ((x) => Opt<R>)
      • Parameters

        • initial: R

        Returns ((x) => Opt<R>)

          • (x): Opt<R>
          • Parameters

            Returns Opt<R>

Generated using TypeDoc