Skip to content

Record

Record is a data structure that maps keys to values. It can be used to store a collection of data.

dyn
(age: 20, name: "John Doe")
(age: 20, name: "John Doe")

You can access the value by using record.key.

dyn
let person = (
	age: 20
	name: "John Doe"
)

person.age
> 20

person.name
> "John Doe"
let person = (
	age: 20
	name: "John Doe"
)

person.age
> 20

person.name
> "John Doe"