Skip to content

Function: isPast() ​

isPast(date): boolean

Defined in: src/datetime.ts:95

Check if a date is in the past.

Parameters ​

date ​

string | number | Date | Dayjs | null | undefined

Date to check

Returns ​

boolean

True if the date is in the past

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