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

getMethodRole

getMethodRole(
U_funObject
)
=> s_role / nil

Description

Returns the method role for the given function object. U_funObject should be a valid generic function object.

Arguments

U_funObject

Specifies the name of the function object for which you want to retrieve the method role. This should be a valid generic function object.

Values Returned

s_role

Returns the role of the specified generic function object

nil

Returns nil if the method is a primary method

Examples

getMethodRole(funobj@0x0182456)
=> @before

Related Topics

Generic Functions and Methods


Return to top
 ⠀
X