range

fun range(value: Double, min: Double, max: Double): String?(source)

Checks @Range: value must be a number within min..max.