Skip to content

Conversation

yeophs
Copy link

@yeophs yeophs commented Feb 28, 2025

Checks if a value is a valid URL string.

Uses JavaScript's built-in URL constructor to validate the URL.
Valid URL format must include a protocol (http, https, etc.).

@yeophs yeophs requested a review from raon0211 as a code owner February 28, 2025 11:04
Copy link

vercel bot commented Feb 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
es-toolkit Ready Ready Preview Comment Sep 9, 2025 2:20pm

@johnpyp
Copy link

johnpyp commented Mar 19, 2025

This can use canParse for better performance (avoids an Error getting thrown and caught)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants