Type.FunctionRequiredParameters

This function will return a numerical value that indicates the minimum number of parameters needed to call the specified type of function.

Syntax

Type.FunctionRequiredParameters(type as type) as number

About

This function will return a numerical value that indicates the minimum number of parameters needed to call the specified type of function.

Explanation

Determine the amount of parameters needed for the function (x as number, optional y as text). Utilize Power Query MType.Function. Required Parameters include type function (x as number, optional y as text) as any. The output is 1.