toList

fun toList(): List<Value>

Collect the heap's elements in a List in arbitrary order.