powered by
A wrapper for base::attr which defaults to exact matching.
attr(x, which, exact = TRUE)
as in base::attr
base::attr
as in base::attr, but with exact defaulting to TRUE in this implementation
exact
TRUE
x <- list() attr(x, "name") <- 10 base::attr(x, "n") stopifnot(is.null(attr(x, "n"))) base::attr(x, "n", exact = TRUE)
Run the code above in your browser using DataLab