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

    Variable foldRConst

    foldR: <X, A, B>(
        folder: (a: A) => (b: B) => B,
    ) => (init: B) => (data: Result.Result<X, A>) => B = ...

    Fold the success data contained by Result from right side.

    Type Declaration

      • <X, A, B>(
            folder: (a: A) => (b: B) => B,
        ): (init: B) => (data: Result.Result<X, A>) => B
      • Type Parameters

        • X
        • A
        • B

        Parameters

        • folder: (a: A) => (b: B) => B

          The folder to fold the data in Result.

        Returns (init: B) => (data: Result.Result<X, A>) => B

        The folded value.