getAndClear

fun getAndClear(index: Int): Boolean