Search
Method isValidHostnameOrIPAddress(String hostOrIP)
Checks if the parameter is valid host name or IP address (both IPv4 and IPv6). Example use: new URL().isHostnameOrIPAddress(hostOrIP)
Returns
boolean
Arguments
Name |
Type |
Description |
hostOrIP |
String
|
|