public func routeMatchesTruckPassZonePasses(
truckPassZoneIds: TruckPassZoneIdRouteLongAttribute,
passZonePasses: [TruckPassZonePass]
) -> Bool
Checks whether the list of passes provided is sufficient to enter the truck pass zones through which the route passes.
Parameters
truckPassZoneIds
TruckPassZoneIdRouteLongAttribute
Route attribute with truck pass zone identifiers.
passZonePasses
TruckPassZonePass[]
Passes for passing through truck pass zones.
Returns
Bool
Signifies whether there are enough passes to pass a route.