fun routeMatchesTruckPassZonePasses(truckPassZoneIds: TruckPassZoneIdRouteLongAttribute, passZonePasses: List<TruckPassZonePass>): Boolean
Checks if the provided list of passes is sufficient to drive through the truck access areas through which the route passes.
If the route does not pass through any truck access areas, the function returns true.
Parameters
truckPassZoneIds
TruckPassZoneIdRouteLongAttribute
Attribute of a route with identifiers of access zones for trucks.
passZonePasses
List<TruckPassZonePass>
Pass for driving through the truck access zones.
Returns
Boolean
Sign of the sufficiency of passes to travel along the route.