isBetween

fun isBetween(x1: Double, x2: Double, value: Double): Boolean