MCPcopy Index your code
hub / github.com/StarpTech/FastGraph / getKVEntries

Function getKVEntries

src/test-utils.ts:320–326  ·  view source on GitHub ↗
(m: Map<string, any>, json = true)

Source from the content-addressed store, hash-verified

318}
319
320export const getKVEntries = (m: Map<string, any>, json = true) => {
321 const obj: { [k: string]: any } = {}
322 for (const [key, val] of m) {
323 obj[key] = json ? JSON.parse(val) : val
324 }
325 return obj
326}

Callers 1

apq.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected