Type.RecordFields
Syntax
Type.RecordFields(type as type) as record
About
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 ]
.
Example 1
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]
]
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for