(d1, d2)
| 77 | } |
| 78 | |
| 79 | export function isEqualDate (d1, d2) { |
| 80 | if (!d1 || !d2 || !(d1 instanceof Date) || !(d2 instanceof Date)) { |
| 81 | return false; |
| 82 | } |
| 83 | |
| 84 | return d1 && d2 && |
| 85 | (d1.getFullYear() === d2.getFullYear()) && |
| 86 | (d1.getMonth() === d2.getMonth()) && |
| 87 | (d1.getDate() === d2.getDate()); |
| 88 | } |
| 89 | |
| 90 | export function isEqual (d1, d2) { |
| 91 | if (!d1 || !d2 || !(d1 instanceof Date) || !(d2 instanceof Date)) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…