Type.FunctionParameters

Last updated 5 months ago

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.

function (type as type) as record

Description

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

Category

Type

Examples

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]