statementLinter function

bool statementLinter(
  1. String formula
)

Returns a Boolean value of whether the formula fed-in, is valid.

Implementation

bool statementLinter(String formula) {
  bool result = false;
  if (astParser(formula) != 'NONE') {
    result = true;
  } else {}
  return result;
}