Table of contents
TOC
Collapse the table of content
Expand the table of content

Type.FunctionParameters

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

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  

Arguments

ArgumentDescription
functionTypeThe function type to check.

Examples

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