Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/date_fns/index.js>isThisISOWeek

date-fns Deno package
Very Popular
Go to Latest
function isThisISOWeek
import { isThisISOWeek } from "https://deno.land/x/date_fns@v2.0.0-beta.2/index.js";

Examples

// If today is 25 September 2014, is 22 September 2014 in this ISO week? var result = isThisISOWeek(new Date(2014, 8, 22)) //=> true

Parameters

dirtyDate
  • the date to check