R/is.R
is_term.Rd
Tests whether an R object inherits from S3 class term.
term
is_term(x)
The object.
A flag indicating whether the test was positive.
It does not test the validity of consistency of the term elements.
term-vector(), vld_term(), valid_term() and consistent_term()
term-vector()
vld_term()
valid_term()
consistent_term()
is_term(c("parameter[2]", "parameter[10]")) #> [1] FALSE is_term(term("parameter[2]", "parameter[10]")) #> [1] TRUE