Norbi
02/24/2022, 10:26 AMsimon.vergauwen
02/24/2022, 10:59 AMAddress
I would do that.
Employees.employees.every.company.modify(value) { adddress ->
address.copy(
street= Street.name.modify(address.street, String::capitalize),
city = address.city.capitalize()
)
}
This is the example taken from the website.
https://arrow-kt.io/docs/optics/collections_dsl/#everysimon.vergauwen
02/24/2022, 10:59 AMLens
that updates multiple valuesCody Mikol
02/24/2022, 2:39 PMCody Mikol
02/24/2022, 4:24 PM