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

isGeneric

isGeneric( 
g_function 
) 
=> t / nil

Description

Checks if the specified symbol (function name) or funobj (function object) represents a generic SKILL++ function.

Arguments

g_function

A symbol (function name) or funobj (function object)..

Value Returned

t

The specified symbol (function name) or funobj (function object) is a generic SKILL++ function.

nil

The specified symbol (function name) or funobj (function object) is not a generic SKILL++ function.

Examples

defgeneric(f1 (x y))
defun(f2 (x y) x + y)
isGeneric('f2)
=> nil
isGeneric('f1)
=> t

Related Topics

Generic Functions and Methods


Return to top
 ⠀
X