0

Is there a difference between these two implementations?

func addVehicle(v: any Vehicle) {
}

and

func addVehicle<T:Vehicle>(v: T) {
}
erotsppa
  • 14,248
  • 33
  • 123
  • 181

0 Answers0