Class: Schedule
Represents an F1 schedule.
Hierarchy
-
↳
Schedule
Constructors
constructor
• new Schedule(data
): Schedule
Parameters
Name | Type | Description |
---|---|---|
data | RawScheduleItem [] | Data to process. |
Returns
Overrides
Defined in
Properties
events
• events: Event
[]
An array of events that belong to the schedule.
Defined in
Methods
round
▸ round(number
): null
| Event
Get an event by its round number on the schedule.
Parameters
Name | Type | Description |
---|---|---|
number | number | The round number. |
Returns
null
| Event