packages/idyll-ast/src/index.js
function walkNodesHelper(astArray, f) {
  (astArray || []).forEach(node => {
    let children = getChildren(node);
    if (children.length > 0) {
      walkNodesHelper(children, f);
    }
    f(node);
  });
}
function walkNodesHelper(astArray, f) {
  (astArray || []).forEach(node => {
    let children = getChildren(node);
    if (children.length > 0) {
      walkNodesHelper(children, f);
    }
    f(node);
  });
}
function walkNodesHelper ( astArray , f ) { ( astArray || [ ] ) . forEach ( node => { let children = getChildren ( node ) ; if ( children . length > 0 ) { walkNodesHelper ( children , f ) ; } f ( node ) ; } ) ; }
Helper function for walkNodes
Helper function for walkNodes