Last active
May 15, 2024 19:20
-
-
Save andresgallo/6f50295ba763120da78d07f45673ddfb to your computer and use it in GitHub Desktop.
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
const END_TIME_INRANGE = ( | |
individual.endTime >= available.startTime || | |
individual.endTime <= available.endTime | |
) | |
const START_TIME_INRANGE = ( | |
individual.startTimeTime >= available.startTime || | |
individual.startTimeTime <= available.endTime | |
) | |
if (START_TIME_INRANGE || END_TIME_INRANGE) { | |
// send broadcastStreamItem|instance to JSON | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment