Skip to content

isSameOrBetweenMonth Type documentation

(current: Date, from: Date, to: Date) => boolean
Function
Compare the current month is the same month or between start and end month.
Returns true if the date is in the provided range.
Parameters
the month object.
current: Date
optional min month, if no value is provided we assume true for the min value.
from?: Date
optional max month, if no value is provided we assume true for the max value.
to?: 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.