getOrNull
inline fun <T : Any> InjectionEnvironment.getOrNull(qualifier: Qualifier = EmptyQualifier): T?
Content copied to clipboard
Gets the component identified by the given type turned into an Identifier with an optional qualifier. Returns null if no component with this identifier exists.
Refer to InjectionEnvironment.getOrNull for more information.