We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bebd94 commit fb11499Copy full SHA for fb11499
glean/src/core/metrics/types/url.ts
@@ -41,11 +41,11 @@ export class UrlMetric extends Metric<string, string> {
41
* 3. The URL must not be a data URL.
42
* 4. Every URL must start with a valid scheme.
43
*
44
- * **Note**: We explicitly do not validate if the URL is fully spec compliant,
+ * Note: We explicitly do not validate if the URL is fully spec compliant,
45
* the above validations are all that is done.
46
47
* @param v The value to validate.
48
- * @returns Whether or not v is a
+ * @returns Whether or not v is a valid URL-like string.
49
*/
50
validate(v: unknown): v is string {
51
if (!isString(v)) {
0 commit comments