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

x/date_fns/index.js>isSunday

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

Examples

// Is 21 September 2014 Sunday? var result = isSunday(new Date(2014, 8, 21)) //=> true

Parameters

dirtyDate
  • the date to check