oday
08/26/2020, 4:46 PMhttps://i.imgur.com/g0mrTBN.jpg▾
nanodeath
08/26/2020, 4:50 PMSingle
is, but I suspect you want map
, not forEach
(which is terminal).oday
08/26/2020, 5:28 PMhttps://i.imgur.com/sLsqagh.jpg▾
khalil
08/26/2020, 5:46 PM[...].getOrders().map { it?.map { it?.asOrder } }
oday
08/26/2020, 6:14 PM