val arr = arrayOf(true, false) val iterable = arr.toSet() _console.log(iterable) iterable.forEach { _console.log(it) }