Files
klz-cables.com/.pnpm-store/v10/files/ec/e125d77eba345998eaf7f51790326c1f0234e8a32f0fdcafca102cd10832e3c6ae1381dcaa6b374607978a4f80bb83383d0f1300ab4975e8b9aa6711da6e29
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

29 lines
694 B
Plaintext

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