MCPcopy Create free account
hub / github.com/tinyplex/tinybase / objToMap

Function objToMap

src/common/obj.ts:48–49  ·  view source on GitHub ↗
(obj: IdObj<Value>)

Source from the content-addressed store, hash-verified

46};
47
48export const objToMap = <Value>(obj: IdObj<Value>): Map<Id, Value> =>
49 new Map(objEntries(obj));
50
51export const objForEach = <Value>(
52 obj: IdObj<Value>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…