Function isValidDateMonth

  • Checks if the provided month is a valid month number (1-12).

    Parameters

    • month: number

      The month number to validate.

    Returns boolean

    A boolean indicating whether the month is valid.

    Example

    isValidDateMonth(5);;
    //=> true
    isValidDateMonth(13);;
    //=> false

Generated using TypeDoc