* Combines the national number with any prefix (IDD/+ and country code or
* national prefix) that was collected. A space will be inserted between them if
* the current formatting template indicates this to be suitable.
- * @param {string} nationalNumber
- * @return {string}
+ * @param {string} nationalNumber The number to be appended.
+ * @return {string} The combined number.
* @private
*/
i18n.phonenumbers.AsYouTypeFormatter.prototype.appendNationalNumber_ =
/**
- * Returns true if the current country is a NANPA country and the national
- * number begins with the national prefix.
- * @return {boolean}
+ * @return {boolean} true if the current country is a NANPA country and the
+ * national number begins with the national prefix.
* @private
*/
i18n.phonenumbers.AsYouTypeFormatter.prototype.
* Helper function to check if the national prefix formatting rule has the first
* group only, i.e., does not start with the national prefix.
*
- * @param {string} nationalPrefixFormattingRule
- * @return {boolean}
+ * @param {string} nationalPrefixFormattingRule The formatting rule for the
+ * national prefix.
+ * @return {boolean} true if the national prefix formatting rule has the first
+ * group only.
*/
i18n.phonenumbers.PhoneNumberUtil.prototype.formattingRuleHasFirstGroupOnly =
function(nationalPrefixFormattingRule) {