powered by
This function returns TRUE for <phinterval> and <Interval> vectors and returns FALSE otherwise.
TRUE
<phinterval>
<Interval>
FALSE
is_phintish(x)
TRUE if x is a <phinterval> or <Interval>, FALSE otherwise.
x
An object to test.
is_phinterval(phinterval()) is_phinterval(interval()) is_phinterval(as.Date("2020-01-01"))
Run the code above in your browser using DataLab