Type.FunctionParameters

Syntax

Type.FunctionParameters(type as type) as record

About

返回一条记录,其中字段值设置为参数 type的名称,其值设置为相应的类型。

示例 1

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

用法

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

输出

[x = type number, y = type text]