Type.ClosedRecord

Syntax

Type.ClosedRecord(type as type) as type

About

Returns a closed version of the given record type (or the same type, if it is already closed).

Example 1

Create a closed version of type [ A = number,…].

Usage

Type.ClosedRecord(type [A = number, ...])

Output

type [A = number]