Skip to content

fp-like isPast, isToday, etc implementation #2321

Answered by kossnocorp
willisplummer asked this question in Ideas
Discussion options

You must be logged in to vote

Hey! We have such a function. It's isSameDay 😉 I think using isPast(now, date) in FP code is just confusing. Unless you have better reasons, I would like to keep it as is and recommend use isSameDay (and other FP-friendly alternatives).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tan75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants