IP.Range.is_range

You're seeing just the macro is_range, go back to IP.Range module for more information.
Link to this macro

is_range(range)

View Source (macro)

Specs

is_range(any()) :: Macro.t()

true if the argument is an proper ip range

checks if the range is well-ordered.

usable in guards.

iex> import IP
iex> IP.Range.is_range(~i"10.0.0.1..10.0.0.3")
true
iex> IP.Range.is_range(:foo)
false
iex> IP.Range.is_range(%IP.Range{first: ~i"10.0.0.3", last: ~i"10.0.0.1"})
false