Created
October 11, 2021 22:16
-
-
Save efojs/5c9b35275fe893e3b058562868cbd4a9 to your computer and use it in GitHub Desktop.
Check if intervals overlap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( | |
foo[0] <= bar[0] and f] and foo[1] >= bar[0] | |
or foo[0] >= bar[0oo[0] <= bar[1] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment