Skip to content

Memoized

Memoized<Fn>: Fn & object

A memoized function.

Type declaration

clear()

clear: () => void

Clears the memoized cache state, and allows for reevaluation.

Returns

void

Type Parameters

Fn extends Function