packages/solver/lib/solveEquation/EquationOperations.js
function performTermOperationOnExpression(expression, op, term) {
  const node = (Node.Type.isOperator(expression) ?
    Node.Creator.parenthesis(expression) : expression);

  term.changeGroup = 1;
  const newNode = Node.Creator.operator(op, [node, term]);

  return newNode;
}
function performTermOperationOnExpression(expression, op, term) {
  const node = (Node.Type.isOperator(expression) ?
    Node.Creator.parenthesis(expression) : expression);

  term.changeGroup = 1;
  const newNode = Node.Creator.operator(op, [node, term]);

  return newNode;
}
function performTermOperationOnExpression ( expression , op , term ) { const node = ( Node . Type . isOperator ( expression ) ? Node . Creator . parenthesis ( expression ) : expression ) ; term . changeGroup = 1 ; const newNode = Node . Creator . operator ( op , [ node , term ] ) ; return newNode ; }
Performs an operation of a term on an entire given expression
Performs an operation of a term on an entire given expression