A.ExRange.disjoint-question-mark

You're seeing just the function disjoint-question-mark, go back to A.ExRange module for more information.
Link to this function

disjoint?(range1, range2)

View Source

Specs

disjoint?(t(), t()) :: boolean()

Checks if two ranges are disjoint.

Examples

iex> A.ExRange.disjoint?(1 ~> 6, 6 ~> 9)
true
iex> A.ExRange.disjoint?(6 ~> 1, 6 ~> 9)
true
iex> A.ExRange.disjoint?(1 ~> 6, 5 ~> 9)
false
iex> A.ExRange.disjoint?(1 ~> 6, 2 ~> 7)
false