NetAddr.last_address

You're seeing just the function last_address, go back to NetAddr module for more information.

Specs

last_address(t()) :: t()

Returns a new NetAddr.t/0 with the last address in netaddr.

Examples

iex> NetAddr.last_address NetAddr.ip("192.0.2.1/24")
%NetAddr.IPv4{address: <<192, 0, 2, 255>>, length: 24}