dot-getParentContainerByType: Get the parent container of a specific type for a given...

.getParentContainerByTypeR Documentation

Get the parent container of a specific type for a given Entity

Description

Recursively retrieves the parent container of the specified type for a given Entity.

Usage

.getParentContainerByType(entity, type)

Arguments

entity

An Entity object or an object inheriting from Entity

type

A string representing the container type to find (e.g., "Simulation", "Molecule").

Value

The closest parent container of the specified type or NA if not found.


Open-Systems-Pharmacology/OSPSuite-R documentation built on Feb. 14, 2025, 4:48 p.m.