ModularM
Modular2y ago
5 replies
Arvin_David

Optional function argument?

Hi everyone
I'm wondering if it's possible to have an optional argument for functions in Mojo. So then if an argument were given, it would have a value (int for instance) otherwise, it would be None.
Was this page helpful?