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)

Arguments

object

the object to be tested

class2

the class name to test the object against

Value

a logical

Details

see the is for more details

Examples

object = S4Vectors::List(test='test') is(object,'Annotated')
#> [1] TRUE