toDeque

fun <T> Iterable<T>.toDeque(): Deque<T>

Returns a Deque filled with all elements of this collection.