Extract Parts of an Object (list)
operator.Rd
%$$%
is an operator that is mainly used internally in the eatRep and eatModel packages.
%$$%
is similar to $
, but gives error instead of
NULL
if the corresponding element does not exists.
Examples
if (FALSE) { # \dontrun{
x <- list(value1 = 14, value2 = NULL)
x$value2 # NULL
x$value_not_defined # NULL
x%$$%value2 # NULL
x%$$%value_not_defined # error
} # }