Rocky_Mountain_Vending/.pnpm-store/v10/files/03/90583024f9402c65f5dc1e512406cfc17dcc82f0065563a24d406442708fa5c8a9343faf81848ff662bfa8c5ce46e615c1c9fe7890b797b6010dbc82912738
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

30 lines
617 B
Text

import { toDate } from "./toDate.js";
/**
* The {@link isFriday} function options.
*/
/**
* @name isFriday
* @category Weekday Helpers
* @summary Is the given date Friday?
*
* @description
* Is the given date Friday?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is Friday
*
* @example
* // Is 26 September 2014 Friday?
* const result = isFriday(new Date(2014, 8, 26))
* //=> true
*/
export function isFriday(date, options) {
return toDate(date, options?.in).getDay() === 5;
}
// Fallback for modularized imports:
export default isFriday;