GetDefault function

Get default value of a function