import { isThisHour } from "https://deno.land/x/date_fns@v2.12.0/index.js";
Examples
// If now is 25 September 2014 18:30:15.500,
// is 25 September 2014 18:00:00 in this hour?
var result = isThisHour(new Date(2014, 8, 25, 18))
//=> true
// If now is 25 September 2014 18:30:15.500, // is 25 September 2014 18:00:00 in this hour? var result = isThisHour(new Date(2014, 8, 25, 18)) //=> true