ktor-http / io.ktor.http / hostIsIp

hostIsIp

fun hostIsIp(host: String): Boolean

Check if host is IPv4 or IPv6 address.