ip_test {ipaddress} | R Documentation |
Test for IP vector
Description
Check if an object is an ip_address
, ip_network
or ip_interface
vector.
Usage
is_ip_address(x)
is_ip_interface(x)
is_ip_network(x)
Arguments
x |
An object to test |
Value
A logical scalar
Examples
is_ip_address(ip_address("192.168.0.1"))
is_ip_interface(ip_interface("192.168.0.1/10"))
is_ip_network(ip_network("192.168.0.0/24"))
[Package ipaddress version 1.0.2 Index]