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

    Function foldL1

    • Folds the elements of list from left. The first value is used as an initial value. If list is null, it throws an error.

      Type Parameters

      • T

      Parameters

      • f: (a: T) => (b: T) => T

        The fold operation.

      Returns (list: List.List<T>) => T

      The folded value.