remove

inline fun <Type : Any> remove(): () -> Type?

Removes singleton or provider of instances of the selected type registered in the Context.

Return

removed provider instance bind to the selected class if any was registered or null.

See also