Match the functions with their descriptions:
Mapping transformation
Match functions and results
Report a typo
Match the items from left and right columns
mapValues()
map()
mapIndexed()
mapKeys()
mapNotNull()
Transforms the key elements of a collection of maps
Transforms a given collection into a new collection by applying a transformation lambda function to each element and using the index as the first argument of the lambda.
Transform the value elements of a collection of maps
Transforms a given collection into a new collection by applying a transformation lambda function to each element
Transforms the elements, and if this transformation cannot be performed, it filters out the null elements
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.