4 lines
91 B
JavaScript
4 lines
91 B
JavaScript
|
export default function isValidDate(date) {
|
||
|
return !isNaN(new Date(date).getTime());
|
||
|
}
|