We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c81d457 commit a381dbfCopy full SHA for a381dbf
prometheus/src/components/Settings/Settings.tsx
@@ -18,8 +18,8 @@ import { isHttpUrl } from '../../util';
18
* Supports namespace/service:port and HTTP/HTTPS URLs.
19
* Examples: monitoring/prometheus:9090, https://prometheus.example.com
20
*
21
- * @param address - The address string to validate.
22
- * @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.
23
*/
24
function isValidAddress(address: string): boolean {
25
if (!address) return true;
0 commit comments