Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / applications / calendar / src / app / helpers / busySlots.ts
blobb297395d328be67bafe5191d5cc45e3471effc15
1 import type { CalendarViewBusyEvent, CalendarViewEvent } from '../containers/calendar/interface';
3 export const isBusySlotEvent = (event: CalendarViewEvent | CalendarViewBusyEvent): event is CalendarViewBusyEvent => {
4     return 'type' in event && event.type === 'busy';
5 };