isNGTLD static method

bool isNGTLD(
  1. String s
)

Checks if the given string s is a ngtld. Example : car => true com => false de => false

Implementation

static bool isNGTLD(String s) {
  return (!isCCTLD(s) && !isGTLD(s) && isTld(s));
}