amid

infix fun Int.amid(tolerance: Int): IntRange

Creates a range defined with the given inclusive tolerance above and below this center value.


Creates a range defined with the given tolerance above and below this center value.