Type.FunctionRequiredParameters
返回一个数字,表明调用函数的类型所需参数的最小数量。
Syntax
Type.FunctionRequiredParameters(
type as type
) as number
Remarks
返回一个数字,表明调用函数的输入 type 所需参数的最小数量。
Examples
Example #1
找到函数 (x as number, optional y as text) 所需参数的数量。
Type.FunctionRequiredParameters(type function (x as number, optional y as text) as any)
Result:
1
Category
Type