mirror of https://github.com/01-edu/public.git
docs(rebecca-black): correct grammar
This commit is contained in:
parent
55744859de
commit
0bd911fb63
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue