DefaultValues
DefaultValues[f] gives a list of transformation rules corresponding to default values of f.
DefaultValues["symbol"] gives a list of transformation rules corresponding to all default values defined for the symbol named "symbol" if it exists.
Examples
Get default values for a function:
f[x_, y_:0] := x + y;
DefaultValues[f]Please visit the official Wolfram Language Reference for more details.