packages/solver/lib/Symbols.js
function isSymbolTerm(node, symbolName) {
  if (Node.PolynomialTerm.isPolynomialTerm(node)) {
    const polyTerm = new Node.PolynomialTerm(node);
    if (polyTerm.getSymbolName() === symbolName) {
      return true;
    }
  }
  return false;
}
function isSymbolTerm(node, symbolName) {
  if (Node.PolynomialTerm.isPolynomialTerm(node)) {
    const polyTerm = new Node.PolynomialTerm(node);
    if (polyTerm.getSymbolName() === symbolName) {
      return true;
    }
  }
  return false;
}
function isSymbolTerm ( node , symbolName ) { if ( Node . PolynomialTerm . isPolynomialTerm ( node ) ) { const polyTerm = new Node . PolynomialTerm ( node ) ; if ( polyTerm . getSymbolName ( ) === symbolName ) { return true ; } } return false ; }
Returns if `node` is a polynomial term with symbol `symbolName`
Returns if node is a polynomial term with symbol symbolName