packages/solver/lib/util/removeUnnecessaryParens.js
function removeUnnecessaryParensInFunctionNode(node) {
  node.args.forEach((child, i) => {
    if (Node.Type.isParenthesis(child)) {
      child = child.content;
    }
    node.args[i] = removeUnnecessaryParensSearch(child);
  });

  return node;
}
function removeUnnecessaryParensInFunctionNode(node) {
  node.args.forEach((child, i) => {
    if (Node.Type.isParenthesis(child)) {
      child = child.content;
    }
    node.args[i] = removeUnnecessaryParensSearch(child);
  });

  return node;
}
function removeUnnecessaryParensInFunctionNode ( node ) { node . args . forEach ( ( child , i ) => { if ( Node . Type . isParenthesis ( child ) ) { child = child . content ; } node . args [ i ] = removeUnnecessaryParensSearch ( child ) ; } ) ; return node ; }
Removes unncessary parens for each argument in a function node. Returns a node.
Removes unncessary parens for each argument in a function node . Returns a node .