Table of contents
TOC
Collapse the table of content
Expand the table of content

Type.RecordFields

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns a record describing the fields of a record type with each field of the returned record type having a corresponding name and a value that is a record of the form [ Type = type, Opional = logical ].

Type.RecordFields(#"type" as type) as record  

Example

Type.RecordFields(type [ A = number, optional B = any])  
equals [  
A = [Type = number, Optional = false],  
B = [Type = any, Optional = true]  
]  
© 2018 Microsoft