Func params validation