toLinkedMap

inline fun <K, V> Map<K, V>.toLinkedMap(): LinkedHashMap<K, V>

Returns a LinkedHashMap containing all elements.

Example:

mapOf(1 to 2, 2 to 3).toLinkedMap() // {1=2, 2=3}

Since

1.1.0