Type.ForFunction

Type.ForFunction(signature as record,min as number) as type

signatureReturnTypeParametersmin 以及调用函数所需参数的最小数目中创建 function type

示例:

为需要使用 X 数字参数并返回数字的函数创建类型。

使用情况:

Type.ForFunction([ReturnType = type number, Parameters = [X = type number]], 1)

输出:

type function (X as number) as number

results matching ""

    No results matching ""