is_ipv6: Version of the address space

View source: R/ip_version.R

is_ipv6R Documentation

Version of the address space

Description

Version of the address space

Usage

is_ipv4(x)

is_ipv6(x)

Arguments

x

An ip_address or ip_network vector

Value

A logical vector

See Also

max_prefix_length()

Examples

ip <- ip_address(c("192.168.0.1", "2001:db8::7334"))

is_ipv4(ip)

is_ipv6(ip)

ipaddress documentation built on Jan. 12, 2023, 9:06 a.m.