Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

isSaturday

import { isSaturday } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Is 27 September 2014 Saturday?
const result = isSaturday(new Date(2014, 8, 27))
//=> true
function isSaturday<DateType extends Date>(date: DateType | number | string): boolean;
§
isSaturday<DateType extends Date>(date: DateType | number | string): boolean
[src]

§Type Parameters

§
DateType extends Date
[src]

§Parameters

§
date: DateType | number | string
[src]
  • The date to check

§Return Type

§
boolean
[src]

The date is Saturday