次の方法で共有


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