NetAddr.address
You're seeing just the function
address
, go back to NetAddr module for more information.
Specs
Returns a human-readable string for the address part of
netaddr
.
Examples
iex> NetAddr.address NetAddr.ip("192.0.2.1/24")
"192.0.2.1"
iex> NetAddr.address NetAddr.netaddr(<<1, 2, 3, 4, 5>>)
"0x0102030405"