Files
klz-cables.com/.pnpm-store/v10/files/3e/1182255e6e88899b55cb042229725401ea6cc3a0b3af62cd48b1bb2b032133dff36f39db12cf1226d33126f7bed05ae6ca3c93a33e2b128a4ed527b2b0db8a
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

30 lines
622 B
Plaintext

"use strict";
exports.isSaturday = isSaturday;
var _index = require("./toDate.cjs");
/**
* The {@link isSaturday} function options.
*/
/**
* @name isSaturday
* @category Weekday Helpers
* @summary Is the given date Saturday?
*
* @description
* Is the given date Saturday?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is Saturday
*
* @example
* // Is 27 September 2014 Saturday?
* const result = isSaturday(new Date(2014, 8, 27))
* //=> true
*/
function isSaturday(date, options) {
return (0, _index.toDate)(date, options?.in).getDay() === 6;
}