isPyrimidine method

bool isPyrimidine()

If the base contained pyrimidine, return true.

Implementation

bool isPyrimidine() {
  return base == EnumBase.c ||
      base == EnumBase.t ||
      base == EnumBase.u ||
      base == EnumBase.y;
}