Type.FunctionRequiredParameters

Syntax

Type.FunctionRequiredParameters(type as type) as number  

About

Returns a number indicating the minimum number of parameters required to invoke the input type of function.

Example 1

Find the number of required parameters to the function (x as number, optional y as text).

Usage

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

Output

1