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