...

/

Record Mutation

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.

Access this course and 1400+ top-rated courses and projects.