Mondoo Docs
Built-in FunctionsIp

version

version

Return the IP version (4 or 6).


Examples

IPv4 example:

ip("192.168.1.10/24").version

On this page