function callMemoOrStaticFn<TObject, TStaticFn>(
obj,
fnKey,
staticFn, ...
args): ReturnType<TStaticFn>;
Defined in: utils.ts:387
Looks to run the memoized function with the builder pattern on the object if it exists, otherwise fallback to the static method passed in.
TObject extends Record<string, any>
TStaticFn extends AnyFunction
TObject
string
TStaticFn
...Parameters<TStaticFn> extends [any, ...Rest[]] ? Rest : never
ReturnType<TStaticFn>