contains

abstract operator fun contains(key: Key): Boolean

Checks whether a value is registered under the given key.

Throws

If this method is called before registries are frozen (i.e. during bootstrap).


abstract operator fun contains(value: T): Boolean

Checks whether the given value is registered in this registry.

Throws

If this method is called before registries are frozen (i.e. during bootstrap).