is-Annotated-method: Is an Object from a Class?

is,Annotated-methodR Documentation

Is an Object from a Class?

Description

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.

Usage

## S4 method for signature 'Annotated'
is(object, class2)

Arguments

object

the object to be tested

class2

the class name to test the object against

Details

see the is for more details

Value

a logical

Examples

object = S4Vectors::List(test='test')
is(object,'Annotated')


pepkit/BiocProject documentation built on July 28, 2023, 2:49 p.m.