Skip to content

compareDate Type documentation

(first: Date, second: Date) => number
Function
Compares two dates.
-
Returns 0 if the dates are equal, a number less than 0 if the first date is earlier, a number greater than 0 if the first date is later.
Parameters
The first date to compare.
first: Date
The second date to compare.
second: Date

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.