DefaultMapLikeToIterablePairTransformer

Transforms all Map as well as all IterableLike which have a resulting element type of either [Pair]<*, *> or [Map.Entry]<*, *> to an Iterable with an element type [Pair]<K, V>.

Constructors

Link copied to clipboard
constructor(container: AssertionContainer<*>)

Functions

Link copied to clipboard
open override fun supportedTypes(): List<String>
Link copied to clipboard
open override fun <K, V> unsafeTransform(mapLike: IterableLike): List<Pair<K, V>>

Transforms the given mapLike to an Iterable<K, V>> where K represents the key type and V the value type.