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

    Variable foldRConst

    foldR: <A, B>(
        folder: (next: A) => (acc: B) => B,
    ) => (init: B) => (data: readonly A[]) => B = ...

    Folds items in the array into one.

    Type Declaration

      • <A, B>(
            folder: (next: A) => (acc: B) => B,
        ): (init: B) => (data: readonly A[]) => B
      • Type Parameters

        • A
        • B

        Parameters

        • folder: (next: A) => (acc: B) => B

          Function to apply items from the right.

        Returns (init: B) => (data: readonly A[]) => B

        A folding result.