Join Slack
Powered by
<@U3E25GSEP> There's no such single function, but ...
# stdlib
i
ilya.gorbunov
01/20/2017, 8:06 PM
@robin
There's no such single function, but you can copy a list with
toMutableList
,
then find an insertion point with
binarySearch
and then just insert it with
add(index, element)
5
Views
Open in Slack
Previous
Next