GLib.Date.valid_weekday

function valid_weekday(weekday: GLib.DateWeekday): Boolean {
    // Gjs wrapper for g_date_valid_weekday()
}
  

Returns true if the weekday is valid. The seven GLib.DateWeekday enumeration values are the only valid weekdays.

weekday

weekday

Returns

true if the weekday is valid