Type.FunctionRequiredParameters

语法

Type.FunctionRequiredParameters(type as type) as number  

关于

返回一个数字,表明调用函数的输入 type 所需参数的最小数量。

示例 1

查找函数所需的参数数量 (x as number, optional y as text)

使用情况

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

输出

1

results matching ""

    No results matching ""