No, there is no function overloading. We consider that a feature. It would not work particularly well with Motoko’s more expressive type system either. It also wouldn’t work for actor methods, because the IC distinguishes messages by name only.
No, there is no function overloading. We consider that a feature. It would not work particularly well with Motoko’s more expressive type system either. It also wouldn’t work for actor methods, because the IC distinguishes messages by name only.