NetAddr.first_address
You're seeing just the function
first_address
, go back to NetAddr module for more information.
Specs
Returns a new NetAddr.t/0
with the first address in
netaddr
.
Examples
iex> NetAddr.first_address NetAddr.ip("192.0.2.1/24")
%NetAddr.IPv4{address: <<192, 0, 2, 0>>, length: 24}