import { isSameISOWeekYear } from "https://deno.land/x/date_fns@v2.0.0-beta.2/index.js";
Examples
// Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year?
var result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2))
//=> true
// Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? var result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) //=> true