MCPcopy Index your code
hub / github.com/microsoft/SandDance / appendChildren

Function appendChildren

docs/app/js/sanddance-app.js:6691–6693  ·  view source on GitHub ↗
(parentElement, children)

Source from the content-addressed store, hash-verified

6689 else parentElement.appendChild(document.createTextNode(child.toString()));
6690}
6691function appendChildren(parentElement, children) {
6692 children.forEach((child)=>addChild(parentElement, child));
6693}
6694function isElement(el) {
6695 //nodeType cannot be zero https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
6696 return !!el.nodeType;

Callers 2

createElementFunction · 0.70
addChildFunction · 0.70

Calls 2

addChildFunction · 0.70
forEachMethod · 0.45

Tested by

no test coverage detected