DetailedWhere<K, V> extension
- on
-
- Map<
K, V>
- Map<
Methods
-
where(
bool f(K key, V value)) → Map< K, V> -
Available on Map<
Filters the map by its keys and values using the provided predicate function. The functionK, V> , provided by the DetailedWhere extensionftakes a key and a value as parameters and returns a boolean indicating whether the key-value pair should be included in the resulting map. -
whereKey(
bool f(K key)) → Map< K, V> -
Available on Map<
Filters the map by its keys using the provided predicate function. The functionK, V> , provided by the DetailedWhere extensionftakes a key as a parameter and returns a boolean indicating whether the key should be included in the resulting map. -
whereValue(
bool f(V value)) → Map< K, V> -
Available on Map<
Filters the map by its values using the provided predicate function. The functionK, V> , provided by the DetailedWhere extensionftakes a value as a parameter and returns a boolean indicating whether the value should be included in the resulting map.