MCPcopy Create free account
hub / github.com/microsoft/SandDance / existingHeader

Function existingHeader

docs/tests/v2/es6/js/sanddance.js:153851–153859  ·  view source on GitHub ↗
(element, header)

Source from the content-addressed store, hash-verified

153849}
153850
153851function existingHeader(element, header) {
153852 const {
153853 previousElementSibling
153854 } = element;
153855
153856 if (previousElementSibling && previousElementSibling.innerHTML === header) {
153857 return previousElementSibling;
153858 }
153859}
153860},{"@msrvida/vega-deck.gl":"vVi8"}],"F5YU":[function(require,module,exports) {
153861"use strict";
153862

Callers 1

conditionalHeaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected