powered by
class
"interval"
"maybeInterval" is a class union (see setClassUnion) of "interval" and "NULL".
"maybeInterval"
setClassUnion
"NULL"
new("interval", ...)
interval()
"numeric"
interval
-1:2 %in% interval("(0, Inf)") ## 0 is *not* inside
Run the code above in your browser using DataLab