Rocky_Mountain_Vending/.pnpm-store/v10/files/19/0c4c6c657c2d8e6c1e9bc74fae0ad72dd4d7c59563a1459859f476600815ec32713e5caa4e63330a5278fc4fc604573b2512dd7454b9dd246309991f2c4709
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

32 lines
796 B
Text

import { toDate } from "./toDate.js";
import { getDate as coreGetDate } from "./_core/getDate.js";
/**
* The {@link isFirstDayOfMonth} function options.
*/
/**
* @name isFirstDayOfMonth
* @category Month Helpers
* @summary Is the given date the first day of a month?
*
* @description
* Is the given date the first day of a month?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is the first day of a month
*
* @example
* // Is 1 September 2014 the first day of a month?
* const result = isFirstDayOfMonth(new Date(2014, 8, 1))
* //=> true
*/
export function isFirstDayOfMonth(date, options) {
return coreGetDate(toDate(date, options?.in)) === 1;
}
// Fallback for modularized imports:
export default isFirstDayOfMonth;