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

slotBoundp

slotBoundp( 
obj 
s_slotName 
) 
=> t / nil

Description

Checks if a named slot is bound to an instance or not.

For compatibility with previous releases, an equivalent to this function with the name ilSlotBoundp exists.

Arguments

obj

An instance of some class.

s_slotName

Slot name.

Value Returned

t

The slot is bound.

nil

The slot is unbound.

It throws an error if obj or t_slotName is invalid.

Examples

myObject => slotX = 20
slotBoundp(myObject 'slotX
=> t

Related Topics

Classes and Instances


Return to top
 ⠀
X