getContaining

fun <V> Map<String, V>.getContaining(key: String, default: V? = null): V?(source)

Get a mapping's key containing the string.

Parameters

key

The key to search for.

default

The value to return if the key is not found.