Type.FunctionParameters

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns a record with field values set to the name of the parameters of a function type, and their values set to their corresponding types.

Type.FunctionParameters(functionType as type) as record  

ArgumentDescription
functionTypeThe function type to check.
Type.FunctionParameters(type function () as any) equals []  

Type.FunctionParameters(type function (x as number, y as text) as any) equals [ x = number, y = text ]  

Show: