NetAddr.is_host_address

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

is_host_address(netaddr)

View Source

Specs

is_host_address(t()) :: boolean()

Tests whether netaddr has length equal to its size in bits.

Examples

iex> NetAddr.is_host_address NetAddr.ip("0.0.0.0/0")
false

iex> NetAddr.is_host_address NetAddr.ip("192.0.2.1")
true

iex> NetAddr.is_host_address NetAddr.ip("fe80:0:c100::c401")
true

iex> NetAddr.is_host_address NetAddr.ip("::/0")
false