GLib.Date.valid_month

function valid_month(month: GLib.DateMonth): Boolean {
    // Gjs wrapper for g_date_valid_month()
}
  

Returns true if the month value is valid. The 12 GLib.DateMonth enumeration values are the only valid months.

month

month

Returns

true if the month is valid