al
06/15/2018, 1:07 AMval whatisthis = customers.flatMap { it.orders }.flatMap { it.products }
val allProducts = customers.flatMap { it.orders.flatMap { it.products } }
Thanks in advance, I did compare and it says they are the same println(whatisthis == allProducts)
karelpeeters
06/15/2018, 8:47 AM