API Reference

Returns a boolean of whether or not a certain Date has passed.

function isPast(date: Date): boolean