Rocky_Mountain_Vending/.pnpm-store/v10/files/27/1e32c1446336514fd3bf67d194450b30e41c96df397bcfcbef4ea0f151d5f98706f90042af474c5da50b89e29a2178e0d8c30dd8ca32f583e65558555f452d
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

25 lines
555 B
Text

"use strict";
exports.isFuture = isFuture;
var _index = require("./toDate.cjs");
/**
* @name isFuture
* @category Common Helpers
* @summary Is the given date in the future?
* @pure false
*
* @description
* Is the given date in the future?
*
* @param date - The date to check
*
* @returns The date is in the future
*
* @example
* // If today is 6 October 2014, is 31 December 2014 in the future?
* const result = isFuture(new Date(2014, 11, 31))
* //=> true
*/
function isFuture(date) {
return +(0, _index.toDate)(date) > Date.now();
}