Skip to main content

Type.ClosedRecord

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

Syntax

Type.ClosedRecord(
type as type
) as type

Remarks

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

Examples

Example #1

Create a closed version of <code>type [ A = number,…]</code>.

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

Result:

type [A = number]

Category

Type