KotlinMapfilterKeys

Returns a map containing all key-value pairs with keys matching the given predicate.

Syntax

map.filterKeys { predicate }