NonNullableMap<K extends Object, V extends Object> extension

Provides functions for working with Maps with null-nullable entries.

on

Methods

putIfNotNull(K? key, V? value) bool

Available on Map<K, V>, provided by the NonNullableMap extension

Associates the key with the given value, and returns true, if neither is null.