MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / if

Function if

src/components/settingsPage.js:542–545  ·  view source on GitHub ↗
(Number.isInteger(item.index))

Source from the content-addressed store, hash-verified

540
541function insertRenderedItem(renderedItems, item, $item) {
542 if (Number.isInteger(item.index)) {
543 renderedItems.splice(item.index, 0, { item, $item });
544 return;
545 }
546
547 renderedItems.push({ item, $item });
548}

Callers 1

settingsPage.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected