Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Type.ForFunction(signature as record, min as number) as type
Creates a function type
from signature
, a record of ReturnType
and Parameters
, and min
, the minimum number of arguments required to invoke the function.
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