hasEvents static method

bool hasEvents(
  1. HijriDate date
)

Checks if a date has any Islamic events

Implementation

static bool hasEvents(HijriDate date) {
  return getEventsForDate(date).isNotEmpty;
}