Skip to main content

Type.FunctionParameters

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.

Syntax

Type.FunctionParameters(
type as type
) as record

Remarks

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

Examples

Example #1

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

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

Result:

[x = type number, y = type text]

Category

Type