function isInPast
isInPast(date: Date): boolean

Determines if the date is in the past.

Parameters

date: Date

Return Type

boolean

Usage

import { isInPast } from ".";