CalendarEvents | CraytaKit
Skip to main content

CalendarEvents

Functions

Function NameReturn TypeDescriptionTags
GetEvent(string eventId)objectGets the next CalendarEvent with the given IdNone
IsEventActive(string eventId)booleanReturns true if an event with the given ID is active at the current timeNone
GetAllEvents()tableGets a table with every CalendarEvent that has been scheduledNone
GetUpcomingEvents()tableGets a table with all CalendarEvents that are scheduled in the futureNone
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

© 2022 CraytaKit