Power Query
published
Search
⌃K

Type.FunctionRequiredParameters

Type.FunctionRequiredParameters

Returns a number indicating the minimum number of parameters required to invoke the type of function.
function (type as type) as number

Description

Returns a number indicating the minimum number of parameters required to invoke the input type of function.

Category

Type

Examples

Find the number of required parameters to the function (x as number, optional y as text).
Type.FunctionRequiredParameters(type function (x as number, optional y as text) as any)
1