Factory
object Factory
Functions
Link copied to clipboard
fun <TKey : Comparable<TKey>, TValue> Sequence<Pair<TKey, TValue>>.assertSorted(sortOrder: SortOrder = ASCENDING): SortedKeyValueSequence<TKey, TValue>
Creates a SortedKeyValueSequence from this sequence, asserting that elements are sorted by their key.