1 | import type { ContextOptions, DateArg } from "./types.js";
|
2 | /**
|
3 | * The {@link isSaturday} function options.
|
4 | */
|
5 | export interface IsSaturdayOptions extends ContextOptions<Date> {}
|
6 | /**
|
7 | * @name isSaturday
|
8 | * @category Weekday Helpers
|
9 | * @summary Is the given date Saturday?
|
10 | *
|
11 | * @description
|
12 | * Is the given date Saturday?
|
13 | *
|
14 | * @param date - The date to check
|
15 | * @param options - An object with options
|
16 | *
|
17 | * @returns The date is Saturday
|
18 | *
|
19 | * @example
|
20 | * // Is 27 September 2014 Saturday?
|
21 | * const result = isSaturday(new Date(2014, 8, 27))
|
22 | * //=> true
|
23 | */
|
24 | export declare function isSaturday(
|
25 | date: DateArg<Date> & {},
|
26 | options?: IsSaturdayOptions | undefined,
|
27 | ): boolean;
|