Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
typealias TimeInDays = Int
Link copied to clipboard
typealias TimeInMillis = Long

Functions

Link copied to clipboard
inline fun emptyLambda(): () -> Unit

A shortcut for the empty lambda, used in places when curly braces are needed (if and when) to make the code look better.

Link copied to clipboard
inline fun lambdaOf(noinline block: () -> Unit): () -> Unit
inline fun <T, R> lambdaOf(noinline block: (T) -> R): (T) -> R

Used in places when curly braces are needed (if and when) to make the code look better.