isWildcardSubtype method

bool isWildcardSubtype()
  • Indicates whether the subtype is the wildcard
    • character or the wildcard character followed by a suffix.
    • @return whether the subtype is a wildcard

Implementation

bool isWildcardSubtype() {
	return WILDCARD_TYPE == (getSubtype()) || getSubtype().startsWith("*+");
}