MCPcopy
hub / github.com/dexie/Dexie.js / toArray

Function toArray

src/globals/connections.ts:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 });
14
15 const toArray = (): ReadonlyArray<Dexie> => {
16 return Array.from(_refs)
17 .map((ref) => ref.deref())
18 .filter((db): db is Dexie => db !== undefined);
19 };
20
21 const add = (db: Dexie) => {
22 const ref = new WeakRef(db._novip);

Callers

nothing calls this directly

Calls 1

filterMethod · 0.65

Tested by

no test coverage detected