Created
March 16, 2021 04:45
-
-
Save bijukunjummen/4c148d801c81f41d7c442f6a403406fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun parseUrl(url: String): Try<URL> { | |
return Try.of { | |
URL(url) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment