Contains polyfills for functionality which is missing on certain platforms so that they can be used in a common way.
expect fun
Formats the given number in a floating point format. |
|
expect fun
Returns the specified value for the property with the given key or |
|
expect fun <T : Any> loadServices(kClass: KClass<T>): Sequence<T>
Loads all available service for the given kClass. |
|
expect fun <T : Any> loadSingleService(kClass: KClass<T>): T
Loads the service for the given kClass and throws an IllegalStateException if it finds more than one. |
|
expect fun
|
|
fun <T : Any> useSingleService(kClass: KClass<T>, itr: Iterator<T>): T
Returns the single service contained in itr and throws if there is any ore more than one. |