Rocky_Mountain_Vending/.pnpm-store/v10/files/d4/52de984ac83eef1e48c2502e31515aa1c8899533fc26f9a79beac2c1e2bfb0bef89502cb7acab8a6d8c6d8c4b3eaec57590c44da4fb95fa744e8dd5c05e78c
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

28 lines
734 B
Text

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link isYesterday} function options.
*/
export interface IsYesterdayOptions extends ContextOptions<Date> {}
/**
* @name isYesterday
* @category Day Helpers
* @summary Is the given date yesterday?
* @pure false
*
* @description
* Is the given date yesterday?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is yesterday
*
* @example
* // If today is 6 October 2014, is 5 October 14:00:00 yesterday?
* const result = isYesterday(new Date(2014, 9, 5, 14, 0))
* //=> true
*/
export declare function isYesterday(
date: DateArg<Date> & {},
options?: IsYesterdayOptions | undefined,
): boolean;