SafeList.Rd
SafeList
is a wrapper class for the normal R list. It should behave
identically, except for the $
operator being overridden to require exact
matches.
SafeList(...)
as.SafeList(x)
is.SafeList(x)
The resulting SafeList
a SafeList version of x
logical
The constructor works identical to list()
unless:
The only argument is a list, in which case the result is the same list, with its class attribute updated to include 'SafeList', or
The only argument is a SafeList, in which case that argument is returned unchanged
as.SafeList()
: Coerce an object to SafeList.
is.SafeList()
: Test if object is already a SafeList.