MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / stringifySymbol

Function stringifySymbol

web/main.js:239–246  ·  view source on GitHub ↗
(v, i = "")

Source from the content-addressed store, hash-verified

237 return val;
238};
239const stringifySymbol = (v, i = "") => {
240 var _a;
241 return (
242 // Symbol.description in es2019+ so we need to cast here to pass
243 // the lib: es2016 check
244 isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v
245 );
246};
247/**
248* @vue/reactivity v3.5.35
249* (c) 2018-present Yuxi (Evan) You and Vue contributors

Callers 1

replacerFunction · 0.85

Calls 1

isSymbolFunction · 0.85

Tested by

no test coverage detected