Syntax
checkip(ip address)
Description
checkip() checks if an Ipv4 or IPv6 address is valid. If the IP address is valid then the IP address is returned, otherwise false is returned.
Example
if (checkip("192.168.0.100")) { println("Valid") } else { println("Invalid") } Valid