Skip to contents

This function returns all ancestors of a given class by following `is_a` relationships, along with itself.

Usage

class_ancestors(cls)

Arguments

cls

A class object such as `nmdcr::Study`

Value

A character vector of ancestor class names.