between

fun between(value: Int, from: Int, to: Int): Boolean