isUrl

abstract fun isUrl(query: String): Boolean

Returns true if query should be treated as a navigable URL, false if it should be treated as a search query.

Respects the useUrlPredictor remote feature flag. When the flag is disabled or the native library is not yet initialized, falls back to com.duckduckgo.app.browser.UriString.isWebUrl.