Package-level declarations
Contains inter alia the mapArgument function next to other helper functions such as nullable and co.
Types
Builder to map variable length arguments formulated as (first: T, vararg others : T) to something else.
Represents a parameter object used to express the arguments T, vararg T and provides utility functions to transform them.
Functions
Can be used in places where a lambda with receiver is required where the receiver is of type Expect<T>.
Adds the given firstGroup, the secondGroup and the otherGroups into a new List and returns it.
Transforms the given iterableLike to an Iterable with an element type T.
Transforms the given iterableLike to an Iterable with an element type T.
Creates a ArgumentMapperBuilder with the given first and others as arguments; specify the mapping as such using a subsequent step in the building process.
Transforms the given MapLike to Pair<Pair<K, V>, Array<out Pair<K, V>>> with the intention that it can be easily used for a function requiring Pair<K, V>, vararg Pair<K, V>.
Turns the given type into a nullable type.
Turns the given function reference into a function reference with a nullable return type.
Maps each argument to null if it is already null and if not, then ...
Transforms the given iterableLike to Pair<T, Array<out T>> with the intention that it can be easily used for a function requiring T, vararg T.
Transforms the given MapLike to Pair<Pair<K, V>, Array<out Pair<K, V>>> with the intention that it can be easily used for a function requiring Pair<K, V>, vararg Pair<K, V>.