Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Syntax
Type.ForFunction(signature as record, min as number) as type
About
Creates a function type from signature, a record of ReturnType and Parameters, and min, the minimum number of arguments required to invoke the function.
Example 1
Creates the type for a function that takes a number parameter named X and returns a number.
Usage
Type.ForFunction([ReturnType = type number, Parameters = [X = type number]], 1)
Output
type function (X as number) as number