Tempus.Slot.compare
You're seeing just the function
compare
, go back to Tempus.Slot module for more information.
Specs
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
.