MCPcopy
hub / github.com/tinyplex/tinybase / mapNew

Function mapNew

src/common/map.ts:16–18  ·  view source on GitHub ↗
(
  entries?: [Key, Value][],
)

Source from the content-addressed store, hash-verified

14 isInstanceOf(value, map);
15
16export const mapNew = /* @__PURE__ */ <Key, Value>(
17 entries?: [Key, Value][],
18): Map<Key, Value> => new map(entries);
19
20export const mapKeys = <Key>(map: Map<Key, unknown> | undefined): Key[] => [
21 ...(map?.keys() ?? []),

Callers 15

index.tsFile · 0.90
addRoutedResultListenerFunction · 0.90
setQueryDefinitionImplFunction · 0.90
joinFunction · 0.90
index.tsFile · 0.90
addCheckpointImplFunction · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
createStoreFunction · 0.90
setValidTablesSchemaFunction · 0.90
setValidTableFunction · 0.90
setValidRowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…