Share via


Type.FunctionParameters

語法

Type.FunctionParameters(type as type) as record

關於

傳回記錄,其欄位值會設為 type 的參數名稱,並將其值設為對應類型。

範例 1

找出函式 (x as number, y as text) 的參數類型。

使用方式

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

輸出

[x = type number, y = type text]