contains

operator fun <T : Any> Map<String, Any>.contains(key: NavMetadataKey<T>): Boolean

Checks if the metadata contains a given key.

T the value type.

Parameters

key

the key to check for