(date: Date)
| 452 | } |
| 453 | |
| 454 | function isToday(date: Date) { |
| 455 | const today = new Date(); |
| 456 | return ( |
| 457 | date.getDate() === today.getDate() && |
| 458 | date.getMonth() === today.getMonth() && |
| 459 | date.getFullYear() === today.getFullYear() |
| 460 | ); |
| 461 | } |
no outgoing calls
no test coverage detected