IP.Subnet.bitlength
You're seeing just the function
bitlength
, go back to IP.Subnet module for more information.
Specs
retrieves the bitlength from a subnet.
iex> import IP
iex> IP.Subnet.bitlength(~i"10.0.0.0/24")
24