strikt-core / strikt.assertions / containsKey

containsKey

infix fun <T : Map<K, V>, K, V> Builder<T>.containsKey(key: K): Builder<T>

Asserts that the subject map contains an entry indexed by key. Depending on the map implementation the value associated with key may be null. This assertion just tests for the existence of the key.