Type.FunctionParameters

Type.FunctionParameters(functionType as type) as record

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

示例:

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

使用情况:

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

输出:

[x = type number, y = type text]

results matching ""

    No results matching ""