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

isMacro

isMacro( 
s_symbolName 
) 
=> t / nil

Description

Checks if the given symbol denotes a macro.

Arguments

s_symbolName

Symbol to check.

Value Returned

t

The given symbol denotes a macro.

nil

The given symbol does not denote a macro.

Examples

(isMacro 'plus)     
=> nil
(isMacro 'defmacro) 
=> t

Related Topics

Function and Program Structure

defmacro


Return to top
 ⠀
X