Tempus.Slot.compare

You're seeing just the function compare, go back to Tempus.Slot module for more information.
Link to this function

compare(s1, s2, strict \\ false)

View Source

Specs

compare(s1 :: t(), s2 :: t(), strict :: boolean()) :: :lt | :gt | :eq | :joint

Compares two slot structs.

Returns :gt if first slot is strictly later than the second and :lt for vice versa. NB :eq is returned not only if slots are equal, but also when they are overlapped.

Might be used in Enum.sort/2.