Rocky_Mountain_Vending/.pnpm-store/v10/files/21/88e5c2e7b60bc340361f7a541fdebf1d51c4b62ef71f530cbe6293e66656f1f394f0562594413dde1aabe447414149f51187c9cb100699e2bd761ae10521d4
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
687 B
Text

"use strict";
exports.isEqual = isEqual;
var _index = require("./toDate.cjs");
/**
* @name isEqual
* @category Common Helpers
* @summary Are the given dates equal?
*
* @description
* Are the given dates equal?
*
* @param dateLeft - The first date to compare
* @param dateRight - The second date to compare
*
* @returns The dates are equal
*
* @example
* // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal?
* const result = isEqual(
* new Date(2014, 6, 2, 6, 30, 45, 0),
* new Date(2014, 6, 2, 6, 30, 45, 500)
* )
* //=> false
*/
function isEqual(leftDate, rightDate) {
return +(0, _index.toDate)(leftDate) === +(0, _index.toDate)(rightDate);
}