Checks whether a string has an IPv4 address format
the IPv4 address to do check on
assert(isIPv4("127.0.0.1")); assert(!isIPv4("127.0.0.500"));
See Implementation
Checks whether a string has an IPv4 address format