DayPilot.Column.events.isEmpty

The DayPilot.Columns.events.isEmpty() method returns true if there are no events in the calendar column.

Declaration

DayPilot.Column.events.isEmpty()

Return Value

boolean

Example

const noEvents = dp.columns.find(DayPilot.Date.today()).events.isEmpty();