Methods
getDriver(driverId) → {Driver}
Get a Driver instance by its ID
Parameters:
Name | Type | Description |
---|---|---|
driverId |
string
|
ID of the driver, as defined in app.json |
getDrivers() → {Object}
Get an object with all Driver instances, with their ID as key
Returns:
- Type:
-
Object
Drivers