MCPcopy Create free account
hub / github.com/Borrus-sudo/tinypages / stringifyObject

Function stringifyObject

packages/compiler/lib/utils.ts:11–18  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

9}
10
11export function stringifyObject(obj) {
12 let returnVal = "";
13 Object.keys(obj).forEach((key) => {
14 let val = obj[key];
15 returnVal += ` ${key}="${val}" `;
16 });
17 return returnVal;
18}
19
20export function stringifyImageStyle(obj) {
21 let returnVal = "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected