loadFromIterable

fun loadFromIterable(cx: Context, scope: Scriptable, arg1: Any?, setter: (Any?, Any?) -> Unit): Boolean

Walks the iterable arg1 and hands each [key, value] pair to setter. Returns false when there is nothing to walk.