get

abstract fun <T : Any> get(type: Class<T>): T?

Returns a service instance if registered, otherwise null.