isURL

fun isURL(candidateUrl: String): Boolean(source)

Deprecated

It is better to use Url instead of URL.

Replace with

isUrl(candidateUrl)

See documentation for isUrl.