Type.FunctionParameters

Syntax

Type.FunctionParameters(type as type) as record

About

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

Example

Find the types of the parameters to the function (x as number, y as text).

Type.FunctionParameters(type function (x as number, y as text) as any)

[x = type number, y = type text]