Ana içeriğe geç

Type.FunctionRequiredParameters

İşlev türünü çalıştırılabilmesi için gereken minimum parametre sayısını belirten bir sayı döndürür.

Syntax​

Type.FunctionRequiredParameters(
type as type
) as number

Remarks​

İşlevin type girişinin çalıştırılabilmesi için gereken minimum parametre sayısını belirten bir sayı döndürür.

Examples​

Example #1​

(x as number, optional y as text) işlevi için gerekli parametre sayısını bulun.

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

Result:

1

Category​

Type