跳到主要内容

Type.FunctionParameters

返回带有字段值的记录以设置函数类型的参数名称,其值设置为对应类型。

Syntax

Type.FunctionParameters(
type as type
) as record

Remarks

返回带有字段值的记录以设置 type 的参数名称,其值设置为对应类型。

Examples

Example #1

找到函数 (x as number, y as text) 的参数类型。

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

Result:

[x = type number, y = type text]

Category

Type