
Last chance! 50% off unlimited learning
Sale ends in
setIs
,
from direct calls and from the contains=
information in a call to setClass
, and from class unions created by setClassUnion
.
In the last case, the information is stored in defining the subclasses of the union class (allowing unions to contain sealed classes).subClass
, superClass
:from
, and to
arguments to setIs
. package
:coerce
:strict=TRUE
calls to the as
function, with
the full method constructed from this mechanically. test
:test
arguments to setIs
, this function is trivial. replace
:as(x,
Class) <- value
.simple
:"logical"
flag, TRUE
if this
is a simple relation, either because one class is contained in the
definition of another, or because a class has been explicitly
stated to extend a virtual class. For simple extensions, the
three methods are generated automatically.by
:dataPart
:"logical"
flag, TRUE
if
the extended class is in fact the data part of the subclass. In
this case the extended class is a basic class (i.e., a type). distance
:"SClassExtension"
in the
signature.is
,
as
, and the
classRepresentation
class.