Functions to test inheritance relationships between an object and a class
or between two classes. It uses the generic is function but overrides its
behavior for objects of class Annotated-class
when
testing for inheritance from Project-class
class.
# S4 method for Annotated is(object, class2)
object | the object to be tested |
---|---|
class2 | the class name to test the object against |
a logical
see the is
for more details
#> [1] TRUE