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 1

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

Usage

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

Output

[x = type number, y = type text]