nearestLowHighIndex

fun nearestLowHighIndex(key: K, doHigh: Boolean): Int