Skip to main content Link Search Menu Expand Document (external link)

utils overview

Added in v3.0.0


Table of contents


utils

ctorMemoizeOnce

It memorizes only one value (input/output) at a time. Be aware of where/when you call the constructor of the memoize function, it determines the closure between memory state and memoize function

Signature

export declare const ctorMemoizeOnce: () => <A>(eqInput: Eq<A>) => <B>(f: (inputN: A) => B) => (inputN: A) => B

Added in v3.0.0

eqAny

Signature

export declare const eqAny: Eq<any>

Added in v3.0.0