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

isCallable

isCallable( 
s_function 
) 
=> t / nil

Description

Checks if a function is defined or is autoloadable from a context.

Arguments

s_function

Name of a function.

Value Returned

t

The specified function is defined or is autoloadable.

nil

The specified function is not defined or is not autoloadable.

Examples

isCallable( 'car) 
=> t
procedure( myFunction( x ) x+1)
isCallable('myFunction)
=> t

Related Topics

Function and Program Structure


Return to top
 ⠀
X