CalendarEvents | CraytaKit
Skip to main content

CalendarEvents

Class Functions

Class Function NameReturn TypeDescriptionTags
CalendarEvents.GetEvent(string eventId)objectGets the next CalendarEvent with the given IdNone
CalendarEvents.IsEventActive(string eventId)booleanReturns true if an event with the given ID is active at the current timeNone
CalendarEvents.GetAllEvents()tableGets a table with every CalendarEvent that has been scheduledNone
CalendarEvents.GetUpcomingEvents()tableGets a table with all CalendarEvents that are scheduled in the futureNone
CalendarEvents.GetActiveEvents()tableGets a table with every CalendarEvent that is currently active nowNone

Examples

GetEvent

If the only matches are in the past, it will return that

GetAllEvents

Warning: Gets all past CalendarEvents that are still searchable too

© 2024 CraytaKit