isMathExpression property

bool get isMathExpression

Implementation

bool get isMathExpression {
  return contains(' + ') ||
      contains(' - ') ||
      contains(' * ') ||
      contains(' / ');
}