Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.0.0-alpha.32/isSameISOWeekYear/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

Parameters

dirtyDateLeft
  • the first date to check
dirtyDateRight
  • the second date to check