How to use the isWeekend function from date-fns

Find comprehensive JavaScript date-fns.isWeekend code examples handpicked from public code repositorys.

126
127
128
129
130
131
132
133
134
135
exports.isTodayImpl = dateFns.isToday
exports.isTomorrowImpl = dateFns.isTomorrow
exports.isTuesdayImpl = dateFns.isTuesday
exports.isValidImpl = dateFns.isValid
exports.isWednesdayImpl = dateFns.isWednesday
exports.isWeekendImpl = dateFns.isWeekend
exports.isWithinRangeImpl = dateFns.isWithinRange
exports.isYesterdayImpl = dateFns.isYesterday
exports.lastDayOfISOWeekImpl = dateFns.lastDayOfISOWeek
exports.lastDayOfISOYearImpl = dateFns.lastDayOfISOYear
fork icon0
star icon2
watch icon1

+ 16 other calls in file

Other functions in date-fns

Sorted by popularity

function icon

date-fns.format is the most popular function in date-fns (3838 examples)