Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
479 B
479 B
Default / Optional Params
Default parameter values are assigned in the function signature with =. When a caller omits that argument, the default value is used instead. Default values must be constants or expressions, not variables. Parameters with defaults must come after required parameters in the signature.
Visit the following resources to learn more: