getMaxPhoneLength

fun getMaxPhoneLength(countryCode: String): Int(source)

Returns the maximum number of digits expected in the national part of a phone number for countryCode, derived from libphonenumber's example number for that country. Falls back to 15 (ITU-T E.164 max) if the country code is unknown.