Generic function params getter