Type.ClosedRecord

The specified type should be a record type that returns a closed version of the original record type. If the type is already closed, it will return the same type.

Syntax

Type.ClosedRecord(type as type) as type

About

The specified type should be a record type that returns a closed version of the original record type. If the type is already closed, it will return the same type.

Explanation

Generate a closed version of the specified type [A = number,...]. To achieve this in Power Query M language, use the function MType.ClosedRecord with the type [A = number,...] as an argument. The resulting output will be the closed record type [A = number].