Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

getMuffleWarnings

getMuffleWarnings( 
) 
=> l_list

Description

Returns a list of warnings that were called and suppressed by the preceding muffleWarnings command.

Arguments

None

Value Returned

l_list

List of warnings or nil, if no warnings were called.

Examples

Results pertain to the preceding muffleWarnings command.

muffleWarnings(
    warn("A first warning 1 level")
    warn("A second warning 1 level")
    muffleWarnings(
     warn("A first warning 2 level")
warn("A second warning 2 level")
2+2
)
=> 4
 getMuffleWarnings(   ) 
=> ("A first warning 2 level" "A second warning 2 level")
1+2
)      => 3
getMuffleWarnings() 
=> ("A first warning 1 level" "A second warning 1 level")

Related Topics

Core Functions

muffleWarnings


Return to top
 ⠀
X