containsKey

abstract fun containsKey(key: Key): Boolean

Checks if the given key has a registered value in this registry.

Return

true if the key has a registered value, false otherwise

Parameters

key

the key


abstract fun containsKey(key: ResourceKey<T>): Boolean

Checks if the given key has a registered value in this registry.

Return

true if the key has a registered value, false otherwise

Parameters

key

the resource key