default value for custom function's parameter

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By zen3001
def function(para = "something"):

atleast that’s how I would do it in python.
I assumed that it would be the same in gdscript but I was wrong
I can give variable like this…

func function(para : String):

…but can’t find a way to actually create a default value.

:bust_in_silhouette: Reply From: volzhs
func function(para:String = "something"):