"use strict"; function isValid(date) { return date.toString() !== "Invalid Date"; } module.exports = isValid;