Nested Records

This lesson will teach us how to use records within records.

Type Nesting

In order to create nested records, we must first create nested record types. Once the record’s type structure allows nesting, we’ll have no problem creating nested records.

So, let’s work on our wizardInfo example from the previous lesson. We’ll be defining the schoolInfo type which contains the attributes school and house:

Get hands-on with 1400+ tech skills courses.