Rocky_Mountain_Vending/.pnpm-store/v10/files/21/6928c694557c03b73ad8e6912fdfd96728d245d9675d8b47af5a5a75dbb9d5bc1215dd86e43a8f5c2dc4e7383d876e7b5ed82e116957b8d2d71d8c7e9511b1
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
635 B
Text

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