docs(rebecca-black): correct grammar

This commit is contained in:
davhojt 2022-05-15 15:29:30 +03:00 committed by Dav Hojt
parent 55744859de
commit 0bd911fb63
1 changed files with 8 additions and 8 deletions

View File

@ -2,15 +2,15 @@
### Instructions
Create the following functions:
Create the following functions which accept a `Date`:
- `isFriday` returns true if the date is a friday
- `isWeekend` returns true if the date is a day of the weekend
- `isLeapYear` returns true if the year of the date is a leap year
- `isLastDayOfMonth` returns true if the date is the last day of the month
- `isFriday`: returns `true` if the `Date` is a Friday.
- `isWeekend`: returns `true` if the `Date` is a weekend day.
- `isLeapYear`: returns `true` if the year of the `Date` is a leap year.
- `isLastDayOfMonth`: returns `true` if the `Date` represents the last day of the month.
### Notions
- [date-fns.org/v2.14.0/docs/isWeekend](https://date-fns.org/v2.14.0/docs/isWeekend)
- [date-fns.org/v2.14.0/docs/isAfter](https://date-fns.org/v2.14.0/docs/isAfter)
- [date-fns.org/v2.14.0/docs/isLastDayOfMonth](https://date-fns.org/v2.14.0/docs/isLastDayOfMonth)
- [date-fns: isWeekend](https://date-fns.org/v2.14.0/docs/isWeekend)
- [date-fns: isAfter](https://date-fns.org/v2.14.0/docs/isAfter)
- [date-fns: isLastDayOfMonth](https://date-fns.org/v2.14.0/docs/isLastDayOfMonth)