IP.Subnet.prefix

You're seeing just the function prefix, go back to IP.Subnet module for more information.

Specs

prefix(t()) :: IP.addr()

retrieves the routing prefix from a subnet.

iex> import IP
iex> IP.Subnet.prefix(~i"10.0.0.0/24")
{10, 0, 0, 0}