doddle
    Preparing search index...

    Type Alias Reduction<In, Result>

    Reduction: (acc: Result, element: In, index: number) => MaybeDoddle<Result>

    A reducer function combining an accumulator and element to produce a new accumulator.

    ℹ️ Used in operations like reduce or scan to accumulate results.

    Type Parameters

    • In
    • Result

    Type declaration