code: function getType(number, countryCode) {
      try {
          var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance();
          var numberObj = phoneUtil.parseAndKeepRawInput(number, countryCode);
          return phoneUtil.getNumberType(numberObj)
      } catch (e) {
          // broken
          return -99;
      }
  }
docs: get the type of the given number e.g. fixed-line/mobile