I have a requirement like: Call a function with 2 parameters in different situations.
function => getSum(a, b)
here it can be like,
ahas value but notbthen it should be likegetSum(a = value goes here)bhas value but notathen it should be likegetSum(b = value goes here)aandbhave values then it should be likegetSum(a, b)
a and b are uuid, and a and b are treated separately in the function.
Is it possible to specify a value to the parameter?