lib/Map/SummaryConcept.js
function closeDescendants(concept) {
  concept.isOpen = false;
  concept.items.forEach(child => {
    if (child.items) {
      closeDescendants(child);
    }
  });
}
function closeDescendants(concept) {
  concept.isOpen = false;
  concept.items.forEach(child => {
    if (child.items) {
      closeDescendants(child);
    }
  });
}
function closeDescendants ( concept ) { concept . isOpen = false ; concept . items . forEach ( child => { if ( child . items ) { closeDescendants ( child ) ; } } ) ; }
Traverses the concepts' descendants, setting isOpen = false as it goes.
Traverses the concepts descendants setting isOpen = false as it goes .