function defaultimport { default } from "https://deno.land/x/date_fns@v2.6.0/isValid/index.js"; default(dirtyDate)Examples// For the valid date: var result = isValid(new Date(2014, 1, 31)) //=> true // For the value, convertable into a date: var result = isValid(1393804800000) //=> true // For the invalid date: var result = isValid(new Date('')) //=> false ParametersdirtyDate the date to check