getConfigOrNull

abstract fun <T : IConfig> getConfigOrNull(type: Class<T>): T?(source)

Returns the configuration object of the provided type, or null if none were registered.

Parameters

type

The type of configuration to get.