Type.RecordFields
Type.RecordFields(type as type) as record
Returns a record describing the fields of a record type
. Each field of the returned record type has a corresponding name and a value, in the form of a record [ Type = type, Optional = logical ]
.
Find the name and value of the record [ A = number, optional B = any]
.
Usage
Type.RecordFields(type [A = number, optional B = any])
Output
[
A = [Type = type number, Optional = false],
B = [Type = type any, Optional = true]
]