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

Function Wrap

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:1333–1336  ·  view source on GitHub ↗
({ children, separator, debugIds, id })

Source from the content-addressed store, hash-verified

1331 []
1332);
1333var Wrap = ({ children, separator, debugIds, id }) => {
1334 const separated = isUndefined(separator) || !isArray(children) ? children : arrayMap(children, (child, c) => c > 0 ? [separator, child] : child);
1335 return debugIds && !isUndefined(id) ? [id, ":{", separated, "}"] : separated;
1336};
1337var CheckpointView = ({ checkpoints, checkpointId, debugIds }) => /* @__PURE__ */ jsx(Wrap, {
1338 debugIds,
1339 id: checkpointId,

Callers

nothing calls this directly

Calls 3

isUndefinedFunction · 0.70
isArrayFunction · 0.70
arrayMapFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…