def arr = $arrays.booleanArrayOf(true, false) $console.log(arr) $objectWrappers.wrap(arr).forEach { $console.log(it) }