Ah ok. So there is nothing special about “to” or “from”. They are just arbitrary labels which are used when calling the function, while the parameters are used within the function body. That’s a cool feature.
Thank you for the helpful answer.
Topic:
Programming Languages
SubTopic:
Swift
Tags: