Type.FunctionRequiredParameters

Type.FunctionRequiredParameters(type as type) as number

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

示例:

找到函数 (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 ""