zut.parse_ipaddress_or_none

zut.parse_ipaddress_or_none(address: str, version: int = None)

Check if the given string is a valid IP address, if yes, return the IPv4Address or IPv6Address object, otherwise return None.