Searched refs:isValidNumber (Results 1 – 11 of 11) sorted by relevance
1213 assertTrue(phoneUtil.isValidNumber(US_NUMBER)); in testIsValidNumber()1214 assertTrue(phoneUtil.isValidNumber(IT_NUMBER)); in testIsValidNumber()1215 assertTrue(phoneUtil.isValidNumber(GB_MOBILE)); in testIsValidNumber()1216 assertTrue(phoneUtil.isValidNumber(INTERNATIONAL_TOLL_FREE)); in testIsValidNumber()1217 assertTrue(phoneUtil.isValidNumber(UNIVERSAL_PREMIUM_RATE)); in testIsValidNumber()1220 assertTrue(phoneUtil.isValidNumber(nzNumber)); in testIsValidNumber()1225 assertTrue(phoneUtil.isValidNumber(BS_NUMBER)); in testIsValidForRegion()1231 assertFalse(phoneUtil.isValidNumber(bsInvalidNumber)); in testIsValidForRegion()1236 assertTrue(phoneUtil.isValidNumber(reNumber)); in testIsValidForRegion()1247 assertFalse(phoneUtil.isValidNumber(reNumber)); in testIsValidForRegion()[all …]
60 if (!phoneNumberUtil.isValidNumber(exampleNumber)) { in checkNumbersValidAndCorrectType()172 if (!phoneNumberUtil.isValidNumber(exampleNumber)) { in testGlobalNetworkNumbers()
951 if (phoneUtil.isValidNumber(parsed)) { in doTestFindInContext()
1698 assertTrue(phoneUtil.isValidNumber(US_NUMBER));1699 assertTrue(phoneUtil.isValidNumber(IT_NUMBER));1700 assertTrue(phoneUtil.isValidNumber(GB_MOBILE));1701 assertTrue(phoneUtil.isValidNumber(INTERNATIONAL_TOLL_FREE));1702 assertTrue(phoneUtil.isValidNumber(UNIVERSAL_PREMIUM_RATE));1708 assertTrue(phoneUtil.isValidNumber(nzNumber));1713 assertTrue(phoneUtil.isValidNumber(BS_NUMBER));1721 assertFalse(phoneUtil.isValidNumber(bsInvalidNumber));1728 assertTrue(phoneUtil.isValidNumber(reNumber));1739 assertFalse(phoneUtil.isValidNumber(reNumber));[all …]
71 var isNumberValid = phoneUtil_.isValidNumber(number);
1980 var isValidNumber = (numberType != i18n.phonenumbers.PhoneNumberType.UNKNOWN);2058 } else if (isValidNumber && this.canBeInternationallyDialled(numberNoExt)) {2340 return this.isValidNumber(3053 i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumber = function(number) { method in i18n.phonenumbers.PhoneNumberUtil3629 if (this.isValidNumber(number)) {3644 } while (!this.isValidNumber(numberCopy));
557 if (!util.isValidNumber(number) in verify()584 if (!util.isValidNumber(number) in verify()621 if (!util.isValidNumber(number) in verify()1468 boolean isValidNumber = (numberType != PhoneNumberType.UNKNOWN);1525 } else if (isValidNumber && canBeInternationallyDialled(numberNoExt)) {1738 return isValidNumber(2069 if (!isValidNumber(possiblyValidNumber)) {2346 public boolean isValidNumber(PhoneNumber number) {2769 if (isValidNumber(number)) {2782 } while (!isValidNumber(numberCopy));
162 boolean isNumberValid = phoneUtil.isValidNumber(number); in getOutputForFile()277 boolean isNumberValid = phoneUtil.isValidNumber(number); in getOutputForSingleNumber()
210 this.isValidNumber = function(...args) {
39 * `isValidNumber` - full validation of a phone number for a region using149 boolean isValid = phoneUtil.isValidNumber(swissNumberProto); // returns true
95 ### What is the difference between isPossibleNumber and isValidNumber?