-
Optional parameter in a function
Is there a way to have an optional parameter in a function, and if this parameter is not supplied the function logic will behave differently?
I would want the function to act like the below.
func:{[requiredParam;requiredParam2;optionalParam]
logic if optionalParam is supplied
logic if optionalParam is not supplied}
Log in to reply.