語法
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
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