MCPcopy Index your code
hub / github.com/pyscript/pyscript / dictionary

Function dictionary

bridge/index.js:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 * @returns {string}
13 */
14const dictionary = keys => {
15 const fields = [];
16 for (const key of keys)
17 fields.push(`${stringify(key)}: ${key}`);
18 return `{ ${fields.join(',')} }`;
19};
20
21/**
22 * Resolve properly config files relative URLs.

Callers 1

getFunction · 0.85

Calls 2

stringifyFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected