import { isToday } from "https://deno.land/x/date_fns@v2.0.0-beta.2/index.js";
Examples
// If today is 6 October 2014, is 6 October 14:00:00 today?
var result = isToday(new Date(2014, 9, 6, 14, 0))
//=> true
// If today is 6 October 2014, is 6 October 14:00:00 today? var result = isToday(new Date(2014, 9, 6, 14, 0)) //=> true