Skip to content

Function: isFuture() ​

isFuture(date): boolean

Defined in: src/datetime.ts:103

Check if a date is in the future.

Parameters ​

date ​

string | number | Date | Dayjs | null | undefined

Date to check

Returns ​

boolean

True if the date is in the future

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.