Record Mutation

In this lesson, we'll explore different ways of altering the contents of a record.

Mutable Fields

Believe it or not, we can define some record fields as mutable. This means that we can change their values in the future.

To make a field mutable, we must prepend the mutable keyword to it.

Get hands-on with 1200+ tech skills courses.