Skip to main content

Type Alias: RawOptionalReducerWithFinish<Value, Finished, This>

RawOptionalReducerWithFinish<Value, Finished, This>: RawOptionalReducerWithoutFinish<Value, This> & object

A reducer that reduces by combining pairs of values using RawOptionalReducerWithFinish.add and then tranforming the final value using RawOptionalReducerWithFinish.finish.

Type declaration

finish()

finish: (this, acc) => Finished

Parameters

this: This

acc: Value

Returns

Finished

Type Parameters

Value = unknown

Finished = Value

This = unknown

Defined in

reducers.d.ts:33