is_term: Is Term

View source: R/is.R

is_termR Documentation

Is Term

Description

Tests whether an R object inherits from S3 class term.

Usage

is_term(x)

Arguments

x

The object.

Details

It does not test the validity of consistency of the term elements.

Value

A flag indicating whether the test was positive.

See Also

term-vector(), vld_term(), valid_term() and consistent_term()

Examples

is_term(c("parameter[2]", "parameter[10]"))
is_term(term("parameter[2]", "parameter[10]"))

term documentation built on Sept. 29, 2022, 5:14 p.m.