27 - Type and Emptiness Together with Extra Parameter Option Objects
Option objects can have extra parameters that are not checked for type or emptiness.
Important wanted parameters are still checked, but unlisted arguments are ignored.
In the example to the left, by using the checkParam_typeExtra()
function, only the listed parameters of 'salu', 'f_name', and 'l_name' are checked for valid types.
Only the parameters 'f_name' and 'l_name' are checked for emptiness with the checkParam_emptyExtra() function.