Created
October 22, 2022 19:52
-
-
Save oguzhancvdr/580bf80dc2da03bdaa4bf3779701c6be to your computer and use it in GitHub Desktop.
This file contains 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 isWeekday = (date) => date.getDay() % 6 !== 0; | |
isWeekday(new Date()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check if a day is a working day