R/basic_functions.R
grapes-between-grapes.Rd
Check if a number belong to a given interval.
value %between% interval
a numerical value.
a numerical vector: (lower,upper).
a logical value.
1 %between% c(0,2) #> [1] TRUE 2 %between% c(0,2) #> [1] TRUE 3 %between% c(0,2) #> [1] FALSE