Asserts if the provided month is a valid date month.
The month to be validated. Should be a number between 1 and 12.
Will throw an error if the month is not a valid date month.
assertValidDateMonth(13);;//=> Error: Invalid month: 13.assertValidDateMonth(1);;//=> undefined Copy
assertValidDateMonth(13);;//=> Error: Invalid month: 13.assertValidDateMonth(1);;//=> undefined
Generated using TypeDoc
Asserts if the provided month is a valid date month.