PHP 8.2.30
Preview: memoize-one.cjs.js.flow Size: 343 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/memoize-one/dist/memoize-one.cjs.js.flow

// @flow

// These types are not as powerful as the TypeScript types, but they get the job done

export type EqualityFn = (newArgs: mixed[], lastArgs: mixed[]) => boolean;

// default export
declare export default function memoizeOne<ResultFn: (...any[]) => mixed>(
  fn: ResultFn,
  isEqual?: EqualityFn,
): ResultFn & { clear: () => void };

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
112 B lrw-r--r-- 2026-02-28 00:27:58
Edit Download
1.34 KB lrw-r--r-- 2026-02-28 00:27:08
Edit Download
343 B lrw-r--r-- 2026-02-28 00:26:44
Edit Download
512 B lrw-r--r-- 2026-02-28 00:28:06
Edit Download
1.33 KB lrw-r--r-- 2026-02-28 00:27:18
Edit Download
1.74 KB lrw-r--r-- 2026-02-28 00:27:26
Edit Download
734 B lrw-r--r-- 2026-02-28 00:27:34
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).