contains

open operator override fun contains(registryKey: RegistryKey<*>): Boolean(source)

Checks if the registryKey is stored in the registry and has an association with a value.

Return

true if the registryKey is present, false otherwise.

Parameters

registryKey

The RegistryKey to check for presence in this registry.