본문으로 건너뛰기

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