Skip to content

compareMonth Type documentation

(first: Date, second: Date) => number
Function
Compares two months.
-
Returns 0 if the months are equal, a number less than 0 if the first month is earlier, a number greater than 0 if the first month is later.
Parameters
The first month to compare.
first: Date
The second month 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.