Skip to content

@continuum-js/std


@continuum-js/std / previous

Function: previous() ​

previous<A>(b, init): State<A>

Defined in: index.ts:139

A behavior lagging one step behind b (its value before the latest change).

Type Parameters ​

A ​

A

Parameters ​

b ​

State<A>

init ​

A

Returns ​

State<A>