valueIsEmpty method

bool valueIsEmpty(
  1. String toTest
)
inherited

Checks if the character has an empty value.

Commonly used to check terminals

Implementation

bool valueIsEmpty(String toTest) {
  return toTest.isEmpty || toTest == "''" || toTest == '""';
}