Product Documentation
Cadence SKILL++ Object System Reference
Product Version IC23.1, June 2023

removeDependent

removeDependent(
g_object
g_dependent
)
=> t / nil

Description

Removes a dependent object from the given object.

An object can be a dependent of multiple SKILL meta objects. If an attempt is made to remove an object from a given meta object of which the object is not a dependent, removeDependent will return nil but not display any error.

Arguments

g_object

Specifies a SKILL object, which could be a class or a generic function from which the dependent object needs to be removed.

g_dependent

Specifies the dependent object that you want to remove.

Value Returned

t

The dependent object is removed.

nil

The dependent object is not removed.

Examples

This example removes the dependent object, dep1, from the object of class, class.

removeDependent( findClass('class) 'dep1)

Related Topics

Dependency Maintenance Protocol Functions

addDependent

getDependents

updateDependent


Return to top
 ⠀
X