IP.Range.from_string-exclamation-mark

You're seeing just the function from_string-exclamation-mark, go back to IP.Range module for more information.

Specs

from_string!(String.t()) :: t()

converts a string to an ip range.

The delimiter must be "..", as this is compatible with both ipv4 and ipv6 addresses

checks if the range is well-ordered.

iex> import IP
iex> IP.Range.from_string!("10.0.0.3..10.0.0.5")
%IP.Range{
  first: {10, 0, 0, 3},
  last: {10, 0, 0, 5}
}