Skip to content

Records

A record, struct, or object is a basic data structure that stores multiple data types, called fields, as a single composite type. Each field’s value is accessible by a unique key.

For example, a record representing a car type might be implemented using the following fields:

Field Value
make "Nissan"
model "Sentra"
color "gray"