A

Admin • 802.91K Points
Coach

Q. Which Kotlin function combines map and flatten operations?

  • (A) combine()
  • (B) flatMap()
  • (C) mapFlat()
  • (D) collapse()
  • Correct Answer - Option(B)
  • Views: 3
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
The flatMap() function transforms each element and then flattens the result into a single list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.