Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.22.1/isSunday/index.ts";

Examples

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

Parameters

dirtyDate: Date | number
  • the date to check

Returns

boolean

the date is Sunday