We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4226d24 commit 816ce8aCopy full SHA for 816ce8a
prometheus/src/components/Settings/Settings.tsx
@@ -14,8 +14,8 @@ import { useEffect, useState } from 'react';
14
* Supports namespace/service:port and HTTP/HTTPS URLs.
15
* Examples: monitoring/prometheus:9090, https://prometheus.example.com
16
*
17
- * @param address - The address string to validate.
18
- * @returns True if the address is valid, false otherwise.
+ * @param {string} address - The address string to validate.
+ * @returns {boolean} True if the address is valid, false otherwise.
19
*/
20
function isValidAddress(address: string): boolean {
21
if (!address) return true;
0 commit comments