If you wish, you can define default values for one or more parameters in your function declaration. Default values appear after the type, separated from the type by an =.

Then, callers can skip that parameter in many cases.

You can learn more about this in:
Run Edit